aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri John Ledkov <dimitri.ledkov@canonical.com>2021-07-26 11:20:17 +0100
committerLeo Yu-Chi Liang <ycliang@andestech.com>2021-08-17 19:28:37 +0800
commit8359fd73131d74e510b281408b0de2fdbf2f62bd (patch)
tree7ddf00386539c3ce2543da0ec01a531a7fa4fc8a
parenta0da2dda4ed9d0aee5265e9cd8876734f9f80e09 (diff)
downloadu-boot-8359fd73131d74e510b281408b0de2fdbf2f62bd.zip
u-boot-8359fd73131d74e510b281408b0de2fdbf2f62bd.tar.gz
u-boot-8359fd73131d74e510b281408b0de2fdbf2f62bd.tar.bz2
qemu-riscv64_smode: fix extlinux (define preboot)
Commit 37304aaf60bf ("Convert CONFIG_USE_PREBOOT and CONFIG_PREBOOT to Kconfig") removed preboot commands in RISC-V targets and broke extlinux support as reported by Fu Wei <wefu@redhat.com>. The patch finishes migration of CONFIG_USE_PREBOOT and CONFIG_REBOOT to Kconfig. Fixes: 37304aaf60bf ("Convert CONFIG_USE_PREBOOT and CONFIG_PREBOOT to Kconfig") Reported-By: Fu Wei <wefu@redhat.com> Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com> Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
-rw-r--r--configs/qemu-riscv64_smode_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/qemu-riscv64_smode_defconfig b/configs/qemu-riscv64_smode_defconfig
index 0000564..4a6416e2 100644
--- a/configs/qemu-riscv64_smode_defconfig
+++ b/configs/qemu-riscv64_smode_defconfig
@@ -6,6 +6,8 @@ CONFIG_ARCH_RV64I=y
CONFIG_RISCV_SMODE=y
CONFIG_DISTRO_DEFAULTS=y
CONFIG_FIT=y
+CONFIG_USE_PREBOOT=y
+CONFIG_PREBOOT="setenv fdt_addr ${fdtcontroladdr}; fdt addr ${fdtcontroladdr};"
CONFIG_DISPLAY_CPUINFO=y
CONFIG_DISPLAY_BOARDINFO=y
CONFIG_CMD_BOOTEFI_SELFTEST=y