]> git.baikalelectronics.ru Git - kernel.git/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)
commit35b924976b37d1a4f40848a6b8872174e8daa441
treeb38f375a4a4189f303b4702ade501c30398e58de
parentb3c96b27f5ec01f5c7f722a6c9103a5a9637af75
[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