]> git.sur5r.net Git - u-boot/commitdiff
board: am437x-hs: spl: Select right dtb from fit
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 10 Jun 2016 05:14:47 +0000 (10:44 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 13 Jun 2016 12:56:38 +0000 (08:56 -0400)
Select a right dtb from FIT for am437x-hs platform.

Reported-by: Madan Srinivas <madans@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
board/ti/am43xx/board.c

index bde5ac7c992aebafee04f64ce5737d26c0c68b9e..f005762edadea944ce1840bc7430086912131c76 100644 (file)
@@ -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;