mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 07:31:15 +00: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
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue