diff options
author | Lionel Xu <r63889@freescale.com> | 2009-11-13 19:54:10 +0800 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2012-09-05 14:57:13 -0400 |
commit | 10ff6aad59fcde3b7340793ea6a0a8b438e12bac (patch) | |
tree | 7bda0be949d1c3440310eaaae3a87f8c01b6325a /lib_arm | |
parent | b2136ad74924c1389ea75415c5b91742d6d6b560 (diff) |
ENGR00118428 MX233 Uboot: reslove the build error for branch imx_v2009.08
bd->bi_enetaddr was removed in one of the previous patchs, some changes must
be done to avoid building error.
Signed-off-by: Lionel Xu <r63889@freescale.com>
Diffstat (limited to 'lib_arm')
-rw-r--r-- | lib_arm/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c index fce188dac0..d6864bceb7 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -443,8 +443,8 @@ extern void davinci_eth_set_mac_addr (const u_int8_t *addr); #endif /* CONFIG_DRIVER_SMC91111 || CONFIG_DRIVER_LAN91C96 */ #if defined(CONFIG_ENC28J60_ETH) && !defined(CONFIG_ETHADDR) - extern void enc_set_mac_addr (uchar *addr); - enc_set_mac_addr (gd->bd->bi_enetaddr); + extern void enc_set_mac_addr (void); + enc_set_mac_addr (); #endif /* CONFIG_ENC28J60_ETH && !CONFIG_ETHADDR*/ /* Initialize from environment */ |