This change will simplify the addition of new SOCs.

Signed-off-by: Juergen Borleis <[email protected]>
---
 arch/ppc/mach-mpc5xxx/Kconfig | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/arch/ppc/mach-mpc5xxx/Kconfig b/arch/ppc/mach-mpc5xxx/Kconfig
index 1ecce3a..5eebf2a 100644
--- a/arch/ppc/mach-mpc5xxx/Kconfig
+++ b/arch/ppc/mach-mpc5xxx/Kconfig
@@ -14,6 +14,7 @@ choice
 
 config MACH_PHYCORE_MPC5200B_TINY
        bool "Phycore mpc5200b tiny"
+       select MPC5200
        help
          Say Y here if you are using the Phytec Phycore MPC5200B Tiny
          board aka pcm030.
@@ -21,19 +22,15 @@ endchoice
 
 config MPC5200
        bool
-       depends on MACH_PHYCORE_MPC5200B_TINY
-       default y
+       select ARCH_MPC5200
 
 config ARCH_MPC5200
        bool
-       depends on MACH_PHYCORE_MPC5200B_TINY
-       default y
+       select MPC5xxx
 
 config MPC5xxx
        bool
-       depends on MACH_PHYCORE_MPC5200B_TINY
        select HAVE_CONFIGURABLE_MEMORY_LAYOUT
-       default y
 
 menu "Board specific settings"
 
-- 
2.1.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to