mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
arm: mvebu: clearfog: don't override set fdtfile env
Only set the fdtfile environment variable when not already set.
Fixes: 867572f09e
("ARM: mvebu: clearfog: run-time selection of DT file")
Cc: Joel Johnson <mrjoel@lixil.net>
Reported-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Andre Heider <a.heider@gmail.com>
This commit is contained in:
parent
073ccfab5f
commit
5a3f5e61ca
1 changed files with 3 additions and 0 deletions
|
@ -240,6 +240,9 @@ int board_eth_init(struct bd_info *bis)
|
|||
|
||||
int board_late_init(void)
|
||||
{
|
||||
if (env_get("fdtfile"))
|
||||
return 0;
|
||||
|
||||
cf_read_tlv_data();
|
||||
|
||||
if (sr_product_is(&cf_tlv_data, "Clearfog Base"))
|
||||
|
|
Loading…
Reference in a new issue