]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: clearfog: don't override set fdtfile env
authorBaruch Siach <baruch@tkos.co.il>
Wed, 9 Sep 2020 12:14:39 +0000 (15:14 +0300)
committerStefan Roese <sr@denx.de>
Thu, 24 Sep 2020 08:13:39 +0000 (10:13 +0200)
commit5a3f5e61ca30cc454e7ca5419144598c746caf87
tree79343e7146cdcbfd8b2ad3ca08395d68ed64aed5
parent073ccfab5ffd522a35bef7b424a1ac824315b3c1
arm: mvebu: clearfog: don't override set fdtfile env

Only set the fdtfile environment variable when not already set.

Fixes: 867572f09ebe6 ("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>
board/solidrun/clearfog/clearfog.c