powerpc: mpc83xx: convert CONFIG_FSL_ELBC to Kconfig
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Thu, 12 Dec 2019 08:11:46 +0000 (08:11 +0000)
committerMario Six <mario.six@gdsys.cc>
Wed, 8 Jan 2020 07:14:09 +0000 (08:14 +0100)
This complements commit 068789773d0 which did the conversion for
mpc85xx.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Mario Six <mario.six@gdsys.cc>
arch/powerpc/cpu/mpc83xx/Kconfig
include/configs/MPC8313ERDB_NAND.h
include/configs/MPC8313ERDB_NOR.h
include/configs/MPC8315ERDB.h
include/configs/MPC837XEMDS.h
include/configs/MPC837XERDB.h
include/configs/ids8313.h
include/configs/ve8313.h

index e9f6e93..5d76502 100644 (file)
@@ -221,6 +221,7 @@ config ARCH_MPC8309
        select MPC83XX_PCI_SUPPORT
        select MPC83XX_SECOND_I2C_SUPPORT
        select SYS_FSL_ERRATUM_ESDHC111
+       select FSL_ELBC
 
 config ARCH_MPC831X
        bool
@@ -232,6 +233,7 @@ config ARCH_MPC8313
        bool
        select ARCH_MPC831X
        select MPC83XX_SECOND_I2C_SUPPORT
+       select FSL_ELBC
 
 config ARCH_MPC8315
        bool
@@ -239,6 +241,7 @@ config ARCH_MPC8315
        select MPC83XX_PCIE1_SUPPORT
        select MPC83XX_PCIE2_SUPPORT
        select MPC83XX_SATA_SUPPORT
+       select FSL_ELBC
 
 config ARCH_MPC832X
        bool
@@ -275,6 +278,7 @@ config ARCH_MPC837X
        select MPC83XX_SATA_SUPPORT
        select MPC83XX_LDP_PIN
        select MPC83XX_SECOND_I2C_SUPPORT
+       select FSL_ELBC
 
 config SYS_IMMR
        hex "Value for IMMR"
@@ -318,6 +322,9 @@ endif
 
 endmenu
 
+config FSL_ELBC
+       bool
+
 source "board/esd/vme8349/Kconfig"
 source "board/freescale/mpc8308rdb/Kconfig"
 source "board/freescale/mpc8313erdb/Kconfig"
index 4389d66..ea5762a 100644 (file)
@@ -43,7 +43,6 @@
 #endif
 
 #define CONFIG_PCI_INDIRECT_BRIDGE
-#define CONFIG_FSL_ELBC 1
 
 /*
  * On-board devices
index 20aaa83..9d4a671 100644 (file)
@@ -19,7 +19,6 @@
 #endif
 
 #define CONFIG_PCI_INDIRECT_BRIDGE
-#define CONFIG_FSL_ELBC 1
 
 /*
  * On-board devices
index 169d747..5085a95 100644 (file)
 #define CONFIG_SYS_GBL_DATA_OFFSET     \
                        (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
 
-#define CONFIG_FSL_ELBC
-
 /*
  * FLASH on the Local Bus
  */
index f6420da..e5b411b 100644 (file)
 #define CONFIG_SYS_GBL_DATA_OFFSET     \
                        (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
 
-#define CONFIG_FSL_ELBC                1
-
 /*
  * FLASH on the Local Bus
  */
index 1ba6f07..2ceb123 100644 (file)
 #define CONFIG_SYS_GBL_DATA_OFFSET     \
                        (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
 
-#define CONFIG_FSL_ELBC                1
-
 /*
  * FLASH on the Local Bus
  */
index d37a5b7..b96d4e8 100644 (file)
@@ -14,8 +14,6 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_FSL_ELBC
-
 #define CONFIG_BOOT_RETRY_TIME         900
 #define CONFIG_BOOT_RETRY_MIN          30
 #define CONFIG_RESET_TO_RETRY
index a31e6f4..34726b9 100644 (file)
@@ -18,7 +18,6 @@
 #define CONFIG_E300            1
 
 #define CONFIG_PCI_INDIRECT_BRIDGE 1
-#define CONFIG_FSL_ELBC                1
 
 /*
  * On-board devices