summaryrefslogtreecommitdiff
path: root/include/configs/km_kirkwood.h
diff options
context:
space:
mode:
authorPascal Linder <pascal.linder@edu.hefr.ch>2019-07-09 09:28:20 +0200
committerStefan Roese <sr@denx.de>2019-08-12 09:12:38 +0200
commit707f06f331096161d2ece57634cb816e46d1878a (patch)
tree6b19cd410b078db8eae7db96d29318bd9d87ec23 /include/configs/km_kirkwood.h
parentfeb5a02f869d5678190dfc915ef6c2781b4f7a6c (diff)
km: add Kconfig menus for KM boards
To execute the conversion away from board specific header files, Kconfig menus have been implemented for all KM boards and additionally for those having an ARM architecture. For the moment, the preprocessor definitions stay in the headers. The boolean types, however, needed a modification (#define CONFIG_* 1). The default configuration files of some boards required an update in order to not change the currently defined values of the configurations. Signed-off-by: Pascal Linder <pascal.linder@edu.hefr.ch> Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/km_kirkwood.h')
-rw-r--r--include/configs/km_kirkwood.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/configs/km_kirkwood.h b/include/configs/km_kirkwood.h
index e7b12d0dca..d0324573b1 100644
--- a/include/configs/km_kirkwood.h
+++ b/include/configs/km_kirkwood.h
@@ -30,7 +30,7 @@
#elif defined(CONFIG_KM_KIRKWOOD_PCI)
#define CONFIG_HOSTNAME "km_kirkwood_pci"
#define CONFIG_KM_IVM_BUS 1 /* I2C2 (Mux-Port 1)*/
-#define CONFIG_KM_FPGA_CONFIG
+#define CONFIG_KM_FPGA_CONFIG 1
#define CONFIG_KM_UBI_PART_BOOT_OPTS ",2048"
#define CONFIG_SYS_NAND_NO_SUBPAGE_WRITE
@@ -55,10 +55,10 @@
#undef CONFIG_SYS_KWD_CONFIG
#define CONFIG_SYS_KWD_CONFIG $(CONFIG_BOARDDIR)/kwbimage_128M16_1.cfg
-#define CONFIG_KM_ENV_IS_IN_SPI_NOR
-#define CONFIG_KM_FPGA_CONFIG
-#define CONFIG_KM_PIGGY4_88E6352
-#define CONFIG_MV88E6352_SWITCH
+#define CONFIG_KM_ENV_IS_IN_SPI_NOR 1
+#define CONFIG_KM_FPGA_CONFIG 1
+#define CONFIG_KM_PIGGY4_88E6352 1
+#define CONFIG_MV88E6352_SWITCH 1
#define CONFIG_KM_MVEXTSW_ADDR 0x10
/* KM_MGCOGE3UN */
@@ -70,24 +70,24 @@
#define CONFIG_KM_BOARD_EXTRA_ENV "waitforne=true\0"
#define CONFIG_PIGGY_MAC_ADRESS_OFFSET 3
#define CONFIG_KM_DISABLE_PCIE
-#define CONFIG_KM_PIGGY4_88E6061
+#define CONFIG_KM_PIGGY4_88E6061 1
/* KMCOGE5UN */
#elif defined(CONFIG_KM_COGE5UN)
#define CONFIG_KM_IVM_BUS 1 /* I2C2 (Mux-Port 1)*/
#undef CONFIG_SYS_KWD_CONFIG
#define CONFIG_SYS_KWD_CONFIG $(CONFIG_BOARDDIR)/kwbimage_256M8_1.cfg
-#define CONFIG_KM_ENV_IS_IN_SPI_NOR
+#define CONFIG_KM_ENV_IS_IN_SPI_NOR 1
#define CONFIG_PIGGY_MAC_ADRESS_OFFSET 3
#define CONFIG_HOSTNAME "kmcoge5un"
#define CONFIG_KM_DISABLE_PCIE
-#define CONFIG_KM_PIGGY4_88E6352
+#define CONFIG_KM_PIGGY4_88E6352 1
/* KM_PORTL2 */
#elif defined(CONFIG_KM_PORTL2)
#define CONFIG_HOSTNAME "portl2"
#define CONFIG_KM_IVM_BUS 1 /* I2C2 (Mux-Port 1)*/
-#define CONFIG_KM_PIGGY4_88E6061
+#define CONFIG_KM_PIGGY4_88E6061 1
/* KM_SUV31 */
#elif defined(CONFIG_KM_SUV31)
@@ -95,8 +95,8 @@
#define CONFIG_HOSTNAME "kmsuv31"
#undef CONFIG_SYS_KWD_CONFIG
#define CONFIG_SYS_KWD_CONFIG $(CONFIG_BOARDDIR)/kwbimage_128M16_1.cfg
-#define CONFIG_KM_ENV_IS_IN_SPI_NOR
-#define CONFIG_KM_FPGA_CONFIG
+#define CONFIG_KM_ENV_IS_IN_SPI_NOR 1
+#define CONFIG_KM_FPGA_CONFIG 1
#define CONFIG_KM_UBI_PART_BOOT_OPTS ",2048"
#define CONFIG_SYS_NAND_NO_SUBPAGE_WRITE
#else