Skip to content
Snippets Groups Projects
Commit 2e8d2f88 authored by Ilias Apalodimas's avatar Ilias Apalodimas Committed by Tom Rini
Browse files

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: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarLeo Yu-Chi Liang <ycliang@andestech.com>
parent d990f7d7
No related branches found
No related tags found
No related merge requests found
Showing with 28 additions and 23 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment