summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorValentin Longchamp <valentin.longchamp@keymile.com>2013-10-18 11:47:18 +0200
committerYork Sun <yorksun@freescale.com>2013-10-24 09:35:40 -0700
commit99f6249a0e7b36e4f9c1aa7b77a0814d883d96b2 (patch)
tree26a8db0d2df84f555c8599be8295adf567108d25 /include/configs
parent0a4f88b98c098532bfe0a4a5f874e6e05708c4f3 (diff)
downloadu-boot-imx-99f6249a0e7b36e4f9c1aa7b77a0814d883d96b2.zip
u-boot-imx-99f6249a0e7b36e4f9c1aa7b77a0814d883d96b2.tar.gz
u-boot-imx-99f6249a0e7b36e4f9c1aa7b77a0814d883d96b2.tar.bz2
KM: add CONFIG_KM_COMMON_ETH_INIT for km common eth init
This must be defined by a board support file that want to use the keymile common.c board_eth_init function that requires ethernet_present to be defined. Currently all the km architectures use it but the kmp204x architecture later supported in this series does use another board_eth_init function and thus does not define it. Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/km/km-powerpc.h3
-rw-r--r--include/configs/km/km_arm.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/km/km-powerpc.h b/include/configs/km/km-powerpc.h
index 15fef24..2cebb2b 100644
--- a/include/configs/km/km-powerpc.h
+++ b/include/configs/km/km-powerpc.h
@@ -17,6 +17,9 @@
#define CONFIG_CMD_DTT
#define CONFIG_JFFS2_CMDLINE
+/* standard km ethernet_present for piggy */
+#define CONFIG_KM_COMMON_ETH_INIT
+
/* EEprom support 24C08, 24C16, 24C64 */
#define CONFIG_SYS_I2C_MULTI_EEPROMS
#define CONFIG_SYS_EEPROM_PAGE_WRITE_ENABLE
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index 36c2fba..e74f85f 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -164,6 +164,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 */
/*
* UBI related stuff