mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-04 20:26:13 +02:00
Correct SPL uses of CMD_FDT
This converts 2 usages of this option to the non-SPL form, since there is no SPL_CMD_FDT defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
cbacacd5c1
commit
3a09f38d5e
@ -313,7 +313,7 @@ int bootm_find_images(int flag, int argc, char *const argv[], ulong start,
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (CONFIG_IS_ENABLED(CMD_FDT))
|
||||
if (IS_ENABLED(CONFIG_CMD_FDT))
|
||||
set_working_fdt_addr(map_to_sysmem(images.ft_addr));
|
||||
#endif
|
||||
|
||||
|
||||
@ -272,7 +272,7 @@ int boot_relocate_fdt(struct lmb *lmb, char **of_flat_tree, ulong *of_size)
|
||||
*of_flat_tree = of_start;
|
||||
*of_size = of_len;
|
||||
|
||||
if (CONFIG_IS_ENABLED(CMD_FDT))
|
||||
if (IS_ENABLED(CONFIG_CMD_FDT))
|
||||
set_working_fdt_addr(map_to_sysmem(*of_flat_tree));
|
||||
return 0;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user