[PATCH 1/3 v4] riscv: Remove OF_PRIOR_STAGE from RISC-V boards

Tom Rini trini at konsulko.com
Tue Oct 19 15:08:32 CEST 2021

On Tue, Oct 12, 2021 at 12:00:13AM +0300, Ilias Apalodimas wrote:

> 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 at linaro.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211019/4ba05426/attachment.sig>

More information about the U-Boot mailing list