[PATCH v2 2/4] board: qemu: riscv: Remove duplicated board_fdt_blob_setup

Yao Zi ziyao at disroot.org
Fri Mar 7 14:13:42 CET 2025


The default version should work for RISC-V QEMU.

Signed-off-by: Yao Zi <ziyao at disroot.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
---
 board/emulation/qemu-riscv/qemu-riscv.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/board/emulation/qemu-riscv/qemu-riscv.c b/board/emulation/qemu-riscv/qemu-riscv.c
index a90222ea6a4..70190ebe8fc 100644
--- a/board/emulation/qemu-riscv/qemu-riscv.c
+++ b/board/emulation/qemu-riscv/qemu-riscv.c
@@ -63,11 +63,3 @@ int board_fit_config_name_match(const char *name)
 	return 0;
 }
 #endif
-
-int board_fdt_blob_setup(void **fdtp)
-{
-	/* Stored the DTB address there during our init */
-	*fdtp = (void *)(ulong)gd->arch.firmware_fdt_addr;
-
-	return 0;
-}
-- 
2.48.1



More information about the U-Boot mailing list