summaryrefslogtreecommitdiffstats
path: root/configs/sifive_fu540_defconfig
diff options
context:
space:
mode:
authorAnup Patel <Anup.Patel@wdc.com>2019-06-25 06:31:44 +0000
committerAndes <uboot@andestech.com>2019-07-19 14:24:52 +0800
commit9f2a0c0f38079bdd2ecf40334a2f6fb5eed5a650 (patch)
treee4c894114b6053c181c714d3d54fe972686fca49 /configs/sifive_fu540_defconfig
parent8633edeb2a1de97f03cededf3c7fc8956bcec61e (diff)
downloadu-boot-9f2a0c0f38079bdd2ecf40334a2f6fb5eed5a650.tar.gz
u-boot-9f2a0c0f38079bdd2ecf40334a2f6fb5eed5a650.tar.xz
u-boot-9f2a0c0f38079bdd2ecf40334a2f6fb5eed5a650.zip
riscv: sifive: fu540: Setup ethaddr env variable using OTP
This patch extends SiFive FU540 board support to setup ethaddr env variable based on board serialnum read from OTP. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'configs/sifive_fu540_defconfig')
-rw-r--r--configs/sifive_fu540_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/sifive_fu540_defconfig b/configs/sifive_fu540_defconfig
index f78412398e..f19203745e 100644
--- a/configs/sifive_fu540_defconfig
+++ b/configs/sifive_fu540_defconfig
@@ -7,4 +7,5 @@ CONFIG_DISTRO_DEFAULTS=y
CONFIG_FIT=y
CONFIG_DISPLAY_CPUINFO=y
CONFIG_DISPLAY_BOARDINFO=y
+CONFIG_MISC_INIT_R=y
CONFIG_OF_PRIOR_STAGE=y