mirror of
https://xff.cz/git/u-boot/
synced 2025-09-27 05:21:16 +02:00
arm: mvebu: clearfog: Unify DT selection paths
Unify the location of DT selection into board_late_init instead of split between detection and static configuration paths. Signed-off-by: Joel Johnson <mrjoel@lixil.net> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
committed by
Stefan Roese
parent
009d4cfcf2
commit
8eccd0dda0
@@ -245,6 +245,8 @@ int board_late_init(void)
|
|||||||
env_set("fdtfile", "armada-385-clearfog-gtr-l8.dtb");
|
env_set("fdtfile", "armada-385-clearfog-gtr-l8.dtb");
|
||||||
else if (IS_ENABLED(CONFIG_TARGET_CLEARFOG_BASE))
|
else if (IS_ENABLED(CONFIG_TARGET_CLEARFOG_BASE))
|
||||||
env_set("fdtfile", "armada-388-clearfog-base.dtb");
|
env_set("fdtfile", "armada-388-clearfog-base.dtb");
|
||||||
|
else
|
||||||
|
env_set("fdtfile", "armada-388-clearfog.dtb");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@@ -178,7 +178,6 @@
|
|||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
RELOCATION_LIMITS_ENV_SETTINGS \
|
RELOCATION_LIMITS_ENV_SETTINGS \
|
||||||
LOAD_ADDRESS_ENV_SETTINGS \
|
LOAD_ADDRESS_ENV_SETTINGS \
|
||||||
"fdtfile=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
|
|
||||||
"console=ttyS0,115200\0" \
|
"console=ttyS0,115200\0" \
|
||||||
BOOTENV
|
BOOTENV
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user