]> err.no Git - linux-2.6/commit
[POWERPC] Re-organize Kconfig code for 4xx in arch/powerpc
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 18 Apr 2007 06:36:26 +0000 (16:36 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 24 Apr 2007 11:32:00 +0000 (21:32 +1000)
commitf65573314e4e2d7deacd7ed101c004148e156296
treeb38f375a4a4189f303b4702ade501c30398e58de
parente6349a958b3577da6e5c5eacda85c07f9a364cb5
[POWERPC] Re-organize Kconfig code for 4xx in arch/powerpc

Now that we always take a device tree in arch/powerpc, there's no good
reason not to allow a single kernel to support multiple embedded 4xx
boards - the correct platform code can be selected based on the device
tree information.

Therefore, this patch re-arranges the 4xx Kconfig code to allow this.
In addition we:
- use "select" instead of depends to configure the correct
  config options for specific 4xx CPUs and workarounds, which
  makes the information about specific boards and CPUs less
  scattered.
- Some old, unused (in arch/powerpc) config options are
  removed: WANT_EARLY_SERIAL, IBM_OCP, etc.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/4xx/Kconfig