diff options
author | Lionel Xu <r63889@freescale.com> | 2009-11-13 19:54:10 +0800 |
---|---|---|
committer | Lionel Xu <r63889@freescale.com> | 2009-11-13 20:02:49 +0800 |
commit | cbee64d544a2bd8b5e2ae17bcfdfe79480690292 (patch) | |
tree | 7bda0be949d1c3440310eaaae3a87f8c01b6325a /lib_arm | |
parent | a5c3bc03d12c2ed6b2627ea99f20d05b184d00d6 (diff) | |
download | u-boot-imx-cbee64d544a2bd8b5e2ae17bcfdfe79480690292.zip u-boot-imx-cbee64d544a2bd8b5e2ae17bcfdfe79480690292.tar.gz u-boot-imx-cbee64d544a2bd8b5e2ae17bcfdfe79480690292.tar.bz2 |
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 fce188d..d6864bc 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 */ |