Merge git://git.denx.de/u-boot-dm
[platform/kernel/u-boot.git] / arch / powerpc / cpu / mpc86xx / Kconfig
index 57e7476..2cc180d 100644 (file)
@@ -11,14 +11,17 @@ choice
 config TARGET_SBC8641D
        bool "Support sbc8641d"
        select ARCH_MPC8641
+       select BOARD_EARLY_INIT_F
 
 config TARGET_MPC8610HPCD
        bool "Support MPC8610HPCD"
        select ARCH_MPC8610
+       select BOARD_EARLY_INIT_F
 
 config TARGET_MPC8641HPCN
        bool "Support MPC8641HPCN"
        select ARCH_MPC8641
+       imply SCSI
 
 config TARGET_XPEDITE517X
        bool "Support xpedite517x"
@@ -28,9 +31,20 @@ endchoice
 
 config ARCH_MPC8610
        bool
+       select FSL_LAW
+       select SYS_FSL_HAS_DDR1
+       select SYS_FSL_HAS_DDR2
 
 config ARCH_MPC8641
        bool
+       select FSL_LAW
+       select SYS_FSL_HAS_DDR1
+       select SYS_FSL_HAS_DDR2
+
+config FSL_LAW
+       bool
+       help
+               Use Freescale common code for Local Access Window
 
 config SYS_CCSRBAR_DEFAULT
        hex "Default CCSRBAR address"
@@ -40,6 +54,12 @@ config SYS_CCSRBAR_DEFAULT
                is fixed on each SoC. Some SoCs can have different value
                if changed by pre-boot regime. The value here must match
                the current value in SoC. If not sure, do not change.
+config SYS_FSL_NUM_LAWS
+       int "Number of local access windows"
+       default 10 if ARCH_MPC8610 || ARCH_MPC8641
+       help
+               Number of local access windows. This is fixed per SoC.
+               If not sure, do not change.
 
 source "board/freescale/mpc8610hpcd/Kconfig"
 source "board/freescale/mpc8641hpcn/Kconfig"