From: Dinesh Maniyam <[email protected]>

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 <[email protected]>
Signed-off-by: Dinesh Maniyam <[email protected]>
Reviewed-by: Tien Fong Chee <[email protected]>
---
 arch/arm/mach-socfpga/spl_a10.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/mach-socfpga/spl_a10.c b/arch/arm/mach-socfpga/spl_a10.c
index a0729ece4b4..a6c4ca39f71 100644
--- a/arch/arm/mach-socfpga/spl_a10.c
+++ b/arch/arm/mach-socfpga/spl_a10.c
@@ -30,6 +30,7 @@
 #include <mmc.h>
 #include <memalign.h>
 #include <linux/delay.h>
+#include <log.h>
 
 #define FPGA_BUFSIZ    16 * 1024
 #define FSBL_IMAGE_IS_VALID    0x49535756
@@ -315,4 +316,12 @@ struct legacy_img_hdr *spl_get_load_buffer(ssize_t offset, 
size_t size)
 
        return (struct legacy_img_hdr *)addr;
 }
+
+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.43.7

Reply via email to