aboutsummaryrefslogtreecommitdiff
path: root/include/configs/km
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
parentfeb5a02f869d5678190dfc915ef6c2781b4f7a6c (diff)
downloadu-boot-707f06f331096161d2ece57634cb816e46d1878a.zip
u-boot-707f06f331096161d2ece57634cb816e46d1878a.tar.gz
u-boot-707f06f331096161d2ece57634cb816e46d1878a.tar.bz2
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')
-rw-r--r--include/configs/km/km-powerpc.h2
-rw-r--r--include/configs/km/km_arm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/km/km-powerpc.h b/include/configs/km/km-powerpc.h
index 16b11d8..74cd674 100644
--- a/include/configs/km/km-powerpc.h
+++ b/include/configs/km/km-powerpc.h
@@ -12,7 +12,7 @@
#define CONFIG_JFFS2_CMDLINE
/* standard km ethernet_present for piggy */
-#define CONFIG_KM_COMMON_ETH_INIT
+#define CONFIG_KM_COMMON_ETH_INIT 1
/* EEprom support 24C08, 24C16, 24C64 */
#define CONFIG_SYS_EEPROM_PAGE_WRITE_ENABLE
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index a381a98..6faff0f 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -124,7 +124,7 @@
#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
#define CONFIG_PHY_BASE_ADR 0
#define CONFIG_ENV_OVERWRITE /* ethaddr can be reprogrammed */
-#define CONFIG_KM_COMMON_ETH_INIT /* standard km ethernet_present for piggy */
+#define CONFIG_KM_COMMON_ETH_INIT 1 /* standard km ethernet_present for piggy */
/*
* I2C related stuff