summaryrefslogtreecommitdiff
path: root/configs/qemu-riscv32_smode_defconfig
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2021-10-12 00:00:13 +0300
committerTom Rini <trini@konsulko.com>2021-10-18 13:19:50 -0400
commit2e8d2f88439d7437f04a6af1d206270f9a2240d3 (patch)
tree696b2966fe4df48f0f2a0fcdc76713f4f17644ec /configs/qemu-riscv32_smode_defconfig
parentd990f7d75d3dcf45a9220abc900495f00792f414 (diff)
downloadu-boot-2e8d2f88439d7437f04a6af1d206270f9a2240d3.tar.gz
u-boot-2e8d2f88439d7437f04a6af1d206270f9a2240d3.tar.bz2
u-boot-2e8d2f88439d7437f04a6af1d206270f9a2240d3.zip
riscv: Remove OF_PRIOR_STAGE from RISC-V boards
At some point back in 2018 prior_stage_fdt_address and OF_PRIOR_STAGE got introduced, in order to support a DTB handed over by an earlier stage boo loader. However we have another option in the Kconfig (OF_BOARD) which has identical semantics. On RISC-V some of the boards pick up the DTB from a1 and copy it in their private gd_t. Apart from that they copy it to prior_stage_fdt_address, if the Kconfig option is selected, which is unnecessary. So let's switch the config option for those boards to OF_BOARD and define the required board_fdt_blob_setup() for them. Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'configs/qemu-riscv32_smode_defconfig')
-rw-r--r--configs/qemu-riscv32_smode_defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/qemu-riscv32_smode_defconfig b/configs/qemu-riscv32_smode_defconfig
index a009f62369..03787416f1 100644
--- a/configs/qemu-riscv32_smode_defconfig
+++ b/configs/qemu-riscv32_smode_defconfig
@@ -12,7 +12,7 @@ CONFIG_DISPLAY_BOARDINFO=y
CONFIG_CMD_BOOTEFI_SELFTEST=y
CONFIG_CMD_NVEDIT_EFI=y
# CONFIG_CMD_MII is not set
-CONFIG_OF_PRIOR_STAGE=y
+CONFIG_OF_BOARD=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_DM_MTD=y
CONFIG_SYSRESET_SBI=y