From: Lokesh Vutla Date: Fri, 10 Jun 2016 05:14:47 +0000 (+0530) Subject: board: am437x-hs: spl: Select right dtb from fit X-Git-Tag: v2016.07-rc2~30 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1736121b24f0cf05b08bac03035b9d34d52a5d99;p=u-boot board: am437x-hs: spl: Select right dtb from fit Select a right dtb from FIT for am437x-hs platform. Reported-by: Madan Srinivas Signed-off-by: Lokesh Vutla --- diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c index bde5ac7c99..f005762eda 100644 --- a/board/ti/am43xx/board.c +++ b/board/ti/am43xx/board.c @@ -850,7 +850,7 @@ int board_eth_init(bd_t *bis) #ifdef CONFIG_SPL_LOAD_FIT int board_fit_config_name_match(const char *name) { - if (board_is_gpevm() && !strcmp(name, "am437x-gp-evm")) + if (board_is_evm() && !strcmp(name, "am437x-gp-evm")) return 0; else if (board_is_sk() && !strcmp(name, "am437x-sk-evm")) return 0;