diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2016-09-16 10:32:11 +0200 |
---|---|---|
committer | Klaus Goger <klaus.goger@theobroma-systems.com> | 2016-09-18 20:22:05 +0200 |
commit | c7f0d108cc276031ba9437537dd89dc65c476345 (patch) | |
tree | d5b55b5ed147c1db048091c22a678a498c46aaeb /arch | |
parent | ec5a2b9d59dce5b6e6099766423e9f9acc7ad698 (diff) |
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 <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/cpu/armv7/sunxi/board.c | 8 |
1 files changed, 8 insertions, 0 deletions
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. */ |