[PATCH 3/5] board: starfive: Remove duplicated board_fdt_blob_setup
Yao Zi
ziyao at disroot.org
Thu Feb 27 15:47:31 CET 2025
The default version should work for Starfive VisionFive 2.
Signed-off-by: Yao Zi <ziyao at disroot.org>
---
board/starfive/visionfive2/starfive_visionfive2.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/board/starfive/visionfive2/starfive_visionfive2.c b/board/starfive/visionfive2/starfive_visionfive2.c
index 3940d45b13f..96fb8dfe934 100644
--- a/board/starfive/visionfive2/starfive_visionfive2.c
+++ b/board/starfive/visionfive2/starfive_visionfive2.c
@@ -115,16 +115,6 @@ int board_late_init(void)
return 0;
}
-int board_fdt_blob_setup(void **fdtp)
-{
- if (gd->arch.firmware_fdt_addr) {
- *fdtp = (ulong *)(uintptr_t)gd->arch.firmware_fdt_addr;
- return 0;
- }
-
- return -EEXIST;
-}
-
int ft_board_setup(void *blob, struct bd_info *bd)
{
return fdt_fixup_memory(blob, 0x40000000, gd->ram_size);
--
2.48.1
More information about the U-Boot
mailing list