mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-26 04:17:09 +00:00
board: am437x-hs: spl: Select right dtb from fit
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>
This commit is contained in:
parent
cc5cdaad42
commit
1736121b24
1 changed files with 1 additions and 1 deletions
|
@ -850,7 +850,7 @@ int board_eth_init(bd_t *bis)
|
||||||
#ifdef CONFIG_SPL_LOAD_FIT
|
#ifdef CONFIG_SPL_LOAD_FIT
|
||||||
int board_fit_config_name_match(const char *name)
|
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;
|
return 0;
|
||||||
else if (board_is_sk() && !strcmp(name, "am437x-sk-evm"))
|
else if (board_is_sk() && !strcmp(name, "am437x-sk-evm"))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue