diff options
author | Jonas Karlman <jonas@kwiboo.se> | 2017-04-22 08:57:54 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-05-10 13:37:22 -0600 |
commit | ecc3bd73b35398d8337096b19493028a29ed038e (patch) | |
tree | 439f3ba0ddc72f0a4aa1f9c5b77ea059d645f21e /configs/tinker-rk3288_defconfig | |
parent | 8880efbd1ffd54bcddb427229ff925151a054257 (diff) | |
download | u-boot-ecc3bd73b35398d8337096b19493028a29ed038e.tar.gz |
rockchip: tinker: set ethaddr in late init
Set ethernet mac address in late init for Tinker Board,
prevents getting a random mac address each boot.
Read mac address from eeprom, first 6 bytes from m24c08@50.
Same as /etc/init.d/rockchip.sh on Tinker OS.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/tinker-rk3288_defconfig')
-rw-r--r-- | configs/tinker-rk3288_defconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/tinker-rk3288_defconfig b/configs/tinker-rk3288_defconfig index ada59504aa..28a1fd8321 100644 --- a/configs/tinker-rk3288_defconfig +++ b/configs/tinker-rk3288_defconfig @@ -11,6 +11,7 @@ CONFIG_CONSOLE_MUX=y # CONFIG_DISPLAY_CPUINFO is not set CONFIG_SPL_STACK_R=y CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x2000 +CONFIG_SPL_I2C_SUPPORT=y # CONFIG_CMD_IMLS is not set CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y @@ -39,6 +40,8 @@ CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y +CONFIG_I2C_EEPROM=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_DM_ETH=y |