summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-03-22 14:28:14 +0100
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-03-22 14:28:14 +0100
commit118d168035cc93f586da4812c89cb153eb9f4243 (patch)
treed111c59fd3fdfcf042cfa302fbcb532cb1df7c57
parent176c4a982c6531f96426afaa1126cf9a5e2d5e03 (diff)
downloadu-boot-imx-118d168035cc93f586da4812c89cb153eb9f4243.zip
u-boot-imx-118d168035cc93f586da4812c89cb153eb9f4243.tar.gz
u-boot-imx-118d168035cc93f586da4812c89cb153eb9f4243.tar.bz2
cmc_pu2: fix implicit declaration of function 'eth_setenv_enetaddr'
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-rw-r--r--board/cmc_pu2/load_sernum_ethaddr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/cmc_pu2/load_sernum_ethaddr.c b/board/cmc_pu2/load_sernum_ethaddr.c
index f02406c..6f85dd9 100644
--- a/board/cmc_pu2/load_sernum_ethaddr.c
+++ b/board/cmc_pu2/load_sernum_ethaddr.c
@@ -27,6 +27,7 @@
/* #define DEBUG */
#include <common.h>
+#include <net.h>
#define I2C_CHIP 0x50 /* I2C bus address of onboard EEPROM */
#define I2C_ALEN 1 /* length of EEPROM addresses in bytes */