u-boot/board/Marvell
Pali Rohár aeff1740b6 arm: mvebu: Espressobin: Fix setting $fdtfile env
Ensure that 'env default -a' always set correct value to $fdtfile, even
when custom user variable is already stored in non-volatile env storage
(means that env_get("fdtfile") call returns non-NULL value).

As default value is now correctly set like if specified at compile time in
CONFIG_EXTRA_ENV_SETTINGS, there is no need to set $fdtfile explicitly via
env_set("fdtfile", ...) call.

So remove wrong skip based on env_get("fdtfile") and then also unneeded
env_set("fdtfile", ...) call.

Fixes: c4df0f6f31 ("arm: mvebu: Espressobin: Set default value for $fdtfile env variable")
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
2021-07-15 10:53:05 +02:00
..
aspenite common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
db-88f6720 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
db-88f6820-amc ddr: marvell: a38x: add support for twin-die combined memory device 2021-02-26 10:22:29 +01:00
db-88f6820-gp ddr: marvell: a38x: add support for twin-die combined memory device 2021-02-26 10:22:29 +01:00
db-mv784mp-gp common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
db-xc3-24g4xg common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
dreamplug common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
guruplug common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mvebu_armada-8k common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mvebu_armada-37xx arm: mvebu: Espressobin: Fix setting $fdtfile env 2021-07-15 10:53:05 +02:00
octeon_ebb7304 mips: octeon: octeon_ebb7304: Add board specific QLM init code 2021-04-28 10:05:12 +02:00
octeon_nic23 mips: octeon: Add Octeon III NIC23 board support 2021-04-28 10:05:12 +02:00
octeontx octeontx: do not require cavium BDK node to be present 2021-07-08 16:40:52 +02:00
octeontx2 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
octeontx2_cn913x arm: octeontx2: Add Octeon TX2 CN913x DB support 2021-05-16 06:48:45 +02:00
openrd common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sheevaplug common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00