X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fdavinci%2Fdvevm%2Fdvevm.c;h=d5c851b5371da0bfb4c790e2c1116539e7835b4a;hb=47c5455a489c8e558ecb002a3a97a030ce490f9e;hp=8f386331e68a038886537cd48f8b6435cfd4f00a;hpb=7a4f511b59f08f51dde4ceacbd45f49b8bf2a5cc;p=u-boot diff --git a/board/davinci/dvevm/dvevm.c b/board/davinci/dvevm/dvevm.c index 8f386331e6..d5c851b537 100644 --- a/board/davinci/dvevm/dvevm.c +++ b/board/davinci/dvevm/dvevm.c @@ -27,7 +27,7 @@ #include #include #include -#include "../common/misc.h" +#include DECLARE_GLOBAL_DATA_PTR; @@ -71,10 +71,7 @@ int misc_init_r(void) /* Read Ethernet MAC address from EEPROM if available. */ if (dvevm_read_mac_address(eeprom_enetaddr)) - dv_configure_mac_address(eeprom_enetaddr); - - if (!eth_hw_init()) - printf("ethernet init failed!\n"); + davinci_sync_env_enetaddr(eeprom_enetaddr); i2c_read(0x39, 0x00, 1, &video_mode, 1);