From c7f0d108cc276031ba9437537dd89dc65c476345 Mon Sep 17 00:00:00 2001 From: Philipp Tomsich Date: Fri, 16 Sep 2016 10:32:11 +0200 Subject: sunxi: Provide board_fit_config_name_match() hook function We assume that any (i.e. the first) FDT contained fits our board and simply return a positive match every time. Signed-off-by: Philipp Tomsich --- arch/arm/cpu/armv7/sunxi/board.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch') diff --git a/arch/arm/cpu/armv7/sunxi/board.c b/arch/arm/cpu/armv7/sunxi/board.c index 99ec4b7225..85cc2ead2a 100644 --- a/arch/arm/cpu/armv7/sunxi/board.c +++ b/arch/arm/cpu/armv7/sunxi/board.c @@ -210,6 +210,14 @@ void board_boot_order(u32 *spl_boot_list) #endif } +#ifdef CONFIG_SPL_LOAD_FIT +int board_fit_config_name_match(const char* name) +{ + return 0; /* just return 'yes, this matches' on any (i.e. the for + all practical purposes: the first) FDT */ +} +#endif + /* The sunxi internal brom will try to loader external bootloader * from mmc0, nand flash, mmc2. */ -- cgit v1.2.3