[PATCH v2 1/4] riscv: lib: Add a default implementation of board_fdt_blob_setup
Leo Liang
ycliang at andestech.com
Tue Mar 25 04:43:03 CET 2025
On Fri, Mar 07, 2025 at 01:13:41PM +0000, Yao Zi wrote:
> It's common for S-Mode proper U-Boot to retrieve a FDT blob along with
> taking control from SBI firmware. Add a weak version of
> board_fdt_blob_setup to make use of it by default, avoiding copy-pasting
> similar functions among boards.
>
> Signed-off-by: Yao Zi <ziyao at disroot.org>
> ---
> arch/riscv/lib/Makefile | 1 +
> arch/riscv/lib/board.c | 19 +++++++++++++++++++
> 2 files changed, 20 insertions(+)
> create mode 100644 arch/riscv/lib/board.c
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
More information about the U-Boot
mailing list