[PATCH 2/2] arch: arm: mach-socfpga: Add SPL fitImage config match

sieu.mun.tang at intel.com sieu.mun.tang at intel.com
Fri Sep 2 03:58:09 CEST 2022


From: Tien Fong Chee <tien.fong.chee at intel.com>

Add empty SPL fitImage configuration match. This can be extended
if there is ever need to support multiple boards with single SFP
image.

Signed-off-by: Tien Fong Chee <tien.fong.chee at intel.com>
Signed-off-by: Sieu Mun Tang <sieu.mun.tang at intel.com>
---
 arch/arm/mach-socfpga/spl_a10.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/mach-socfpga/spl_a10.c b/arch/arm/mach-socfpga/spl_a10.c
index bfcbd1dfe1..64f801dfe5 100644
--- a/arch/arm/mach-socfpga/spl_a10.c
+++ b/arch/arm/mach-socfpga/spl_a10.c
@@ -292,4 +292,12 @@ struct image_header *spl_get_load_buffer(int offset, size_t size)
 	else
 		return NULL;
 }
+
+int board_fit_config_name_match(const char *name)
+{
+	/* Just empty function now - can't decide what to choose */
+	debug("%s: %s\n", __func__, name);
+
+	return 0;
+}
 #endif
-- 
2.25.1



More information about the U-Boot mailing list