summaryrefslogtreecommitdiff
path: root/boot/image-fdt.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-06 01:36:30 +0300
committerTom Rini <trini@konsulko.com>2023-02-10 00:32:25 +0300
commit3a09f38d5e7cf690135ad2fa60eed9fc40b744c3 (patch)
tree3f356c969906328a7245a59b0db330ded7d7b0e4 /boot/image-fdt.c
parentcbacacd5c18e4fac64868112f970345d7732123b (diff)
downloadu-boot-3a09f38d5e7cf690135ad2fa60eed9fc40b744c3.tar.xz
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>
Diffstat (limited to 'boot/image-fdt.c')
-rw-r--r--boot/image-fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/image-fdt.c b/boot/image-fdt.c
index b830a0ab41..408abce096 100644
--- a/boot/image-fdt.c
+++ b/boot/image-fdt.c
@@ -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;