diff options
author | Lionel Xu <r63889@freescale.com> | 2009-07-31 15:14:01 +0800 |
---|---|---|
committer | Fred Fan <r01011@freescale.com> | 2009-09-10 17:08:10 +0800 |
commit | 9f649aed95b9b0f860236e9ff96ba0ddb091be91 (patch) | |
tree | 54f512a978e58291934ccbeb2530f7d3657d819c /lib_arm/board.c | |
parent | ecbbc581c9f54a3512cd3f6ef42562b1cf047d35 (diff) | |
download | u-boot-imx-9f649aed95b9b0f860236e9ff96ba0ddb091be91.zip u-boot-imx-9f649aed95b9b0f860236e9ff96ba0ddb091be91.tar.gz u-boot-imx-9f649aed95b9b0f860236e9ff96ba0ddb091be91.tar.bz2 |
ENGR00113941 MX233: Make UBOOT v2009.01 work on EVK board
Porting MX233 UBOOT from 1.3.3 to V2009.01. Clear old cfg macro, such as
CFG_HZ. Change MAC address getting source from initial configuration to
On-Chip OTP.
Signed-off-by: Lionel Xu <r63889@freescale.com>
Diffstat (limited to 'lib_arm/board.c')
-rw-r--r-- | lib_arm/board.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c index a44d308..552ea5f 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -437,6 +437,11 @@ 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); +#endif /* CONFIG_ENC28J60_ETH && !CONFIG_ETHADDR*/ + /* Initialize from environment */ if ((s = getenv ("loadaddr")) != NULL) { load_addr = simple_strtoul (s, NULL, 16); |