u-boot/arch/riscv
Ilias Apalodimas 2e8d2f8843 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>
2021-10-18 13:19:50 -04:00
..
cpu riscv: Remove OF_PRIOR_STAGE from RISC-V boards 2021-10-18 13:19:50 -04:00
dts riscv: Remove OF_PRIOR_STAGE from RISC-V boards 2021-10-18 13:19:50 -04:00
include/asm sysreset: provide SBI based sysreset driver 2021-10-07 16:08:23 +08:00
lib fdtdec: Support reserved-memory flags 2021-10-13 14:18:30 -07:00
config.mk kconfig / kbuild: Re-sync with Linux 4.19 2020-04-10 11:18:32 -04:00
Kconfig Prepare v2021.10-rc4 2021-09-16 10:29:40 -04:00
Makefile riscv: add Kconfig entries for the code model 2018-12-18 09:56:26 +08:00