[U-Boot] [PATCH] Merrii_A80_Optimus: Fix build error

Maxin B. John maxin.john at enea.com
Wed Jun 3 17:15:49 CEST 2015


make Merrii_A80_Optimus_defconfig
make
fails with the following error:

board/sunxi/built-in.o: In function `misc_init_r':
/root/u-boot/board/sunxi/board.c:540: undefined reference to `eth_setenv_enetaddr'

Enable CONFIG_CMD_NET in Merrii_A80_Optimus_defconfig to fix it.

Signed-off-by: Maxin B. John <maxin.john at enea.com>
---
 configs/Merrii_A80_Optimus_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/Merrii_A80_Optimus_defconfig b/configs/Merrii_A80_Optimus_defconfig
index 6bd5273..b112596 100644
--- a/configs/Merrii_A80_Optimus_defconfig
+++ b/configs/Merrii_A80_Optimus_defconfig
@@ -9,3 +9,4 @@ CONFIG_MACH_SUN9I=y
 CONFIG_DRAM_CLK=360
 CONFIG_DRAM_ZQ=123
 CONFIG_SYS_CLK_FREQ=1008000000
+CONFIG_CMD_NET=y
-- 
1.9.1



More information about the U-Boot mailing list