commit c9787c281f6ba3f373e1d4ea87a883b7db5d1bab Author: ehoutsma <ehoutsma@gmail.com> Date: Tue Jan 10 14:48:04 2017 +0100 add support for OrangePI PC2 diff --git a/u-boot/board/sunxi/board.c b/u-boot/board/sunxi/board.c index 5365638..71dee91 100644 --- a/u-boot/board/sunxi/board.c +++ b/u-boot/board/sunxi/board.c @@ -726,3 +726,15 @@ int ft_board_setup(void *blob, bd_t *bd) #endif return 0; } + +#ifdef CONFIG_SPL_LOAD_FIT +int board_fit_config_name_match(const char *name) +{ +#ifdef CONFIG_MACH_SUN50I_H5 + return strcmp(name, "Orangepi PC2"); +#else + return strcmp(name, "Pine64"); +#endif + return -1; +} +#endif