mpc83xx: Introduce ARCH_MPC832*
[platform/kernel/u-boot.git] / arch / powerpc / cpu / mpc83xx / Kconfig
index a377973..1b9402e 100644 (file)
@@ -10,42 +10,49 @@ choice
 
 config TARGET_MPC8308_P1M
        bool "Support mpc8308_p1m"
+       select ARCH_MPC8308
 
 config TARGET_SBC8349
        bool "Support sbc8349"
 
 config TARGET_VE8313
        bool "Support ve8313"
+       select ARCH_MPC8313
 
 config TARGET_VME8349
        bool "Support vme8349"
 
 config TARGET_MPC8308RDB
        bool "Support MPC8308RDB"
+       select ARCH_MPC8308
        select SYS_FSL_ERRATUM_ESDHC111
 
 config TARGET_MPC8313ERDB
        bool "Support MPC8313ERDB"
-       select SUPPORT_SPL
+       select ARCH_MPC8313
        select BOARD_EARLY_INIT_F
+       select SUPPORT_SPL
 
 config TARGET_MPC8315ERDB
        bool "Support MPC8315ERDB"
+       select ARCH_MPC8315
        select BOARD_EARLY_INIT_F
 
 config TARGET_MPC8323ERDB
        bool "Support MPC8323ERDB"
+       select ARCH_MPC832X
 
 config TARGET_MPC832XEMDS
        bool "Support MPC832XEMDS"
+       select ARCH_MPC832X
        select BOARD_EARLY_INIT_F
 
 config TARGET_MPC8349EMDS
        bool "Support MPC8349EMDS"
+       select BOARD_EARLY_INIT_F
        select SYS_FSL_DDR
-       select SYS_FSL_HAS_DDR2
        select SYS_FSL_DDR_BE
-       select BOARD_EARLY_INIT_F
+       select SYS_FSL_HAS_DDR2
 
 config TARGET_MPC8349ITX
        bool "Support MPC8349ITX"
@@ -55,6 +62,7 @@ config TARGET_MPC837XEMDS
        bool "Support MPC837XEMDS"
        select BOARD_EARLY_INIT_F
        imply CMD_SATA
+       imply FSL_SATA
 
 config TARGET_MPC837XERDB
        bool "Support MPC837XERDB"
@@ -62,7 +70,9 @@ config TARGET_MPC837XERDB
 
 config TARGET_IDS8313
        bool "Support ids8313"
+       select ARCH_MPC8313
        select DM
+       imply CMD_DM
 
 config TARGET_KM8360
        bool "Support km8360"
@@ -72,11 +82,15 @@ config TARGET_KM8360
 
 config TARGET_SUVD3
        bool "Support suvd3"
+       select ARCH_MPC8309 if SYS_EXTRA_OPTIONS="KMTEGR1"
+       select ARCH_MPC8309 if SYS_EXTRA_OPTIONS="KMVECT1"
+       select ARCH_MPC832X if SYS_EXTRA_OPTIONS="SUVD3"
        imply CMD_CRAMFS
        imply FS_CRAMFS
 
 config TARGET_TUXX1
        bool "Support tuxx1"
+       select ARCH_MPC832X
        imply CMD_CRAMFS
        imply FS_CRAMFS
 
@@ -85,15 +99,42 @@ config TARGET_TQM834X
 
 config TARGET_HRCON
        bool "Support hrcon"
+       select ARCH_MPC8308
        select SYS_FSL_ERRATUM_ESDHC111
 
 config TARGET_STRIDER
        bool "Support strider"
+       select ARCH_MPC8308
        select SYS_FSL_ERRATUM_ESDHC111
        imply CMD_PCA953X
 
 endchoice
 
+config ARCH_MPC830X
+       bool
+
+config ARCH_MPC8308
+       bool
+       select ARCH_MPC830X
+
+config ARCH_MPC8309
+       bool
+       select ARCH_MPC830X
+
+config ARCH_MPC831X
+       bool
+
+config ARCH_MPC8313
+       bool
+       select ARCH_MPC831X
+
+config ARCH_MPC8315
+       bool
+       select ARCH_MPC831X
+
+config ARCH_MPC832X
+       bool
+
 source "board/esd/vme8349/Kconfig"
 source "board/freescale/mpc8308rdb/Kconfig"
 source "board/freescale/mpc8313erdb/Kconfig"