Correct SPL uses of SAVE_PREV_BL_FDT_ADDR

This converts 2 usages of this option to the non-SPL form, since there is
no SPL_SAVE_PREV_BL_FDT_ADDR defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2023-02-05 15:40:44 -07:00 committed by Tom Rini
parent 4051c400c5
commit 10f8bc0983
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ int save_prev_bl_data(void)
return -ENODATA; return -ENODATA;
} }
if (CONFIG_IS_ENABLED(SAVE_PREV_BL_FDT_ADDR)) if (IS_ENABLED(CONFIG_SAVE_PREV_BL_FDT_ADDR))
env_set_addr("prevbl_fdt_addr", (void *)reg0); env_set_addr("prevbl_fdt_addr", (void *)reg0);
if (!CONFIG_IS_ENABLED(SAVE_PREV_BL_INITRAMFS_START_ADDR)) if (!CONFIG_IS_ENABLED(SAVE_PREV_BL_INITRAMFS_START_ADDR))
return 0; return 0;

View file

@ -453,7 +453,7 @@ static int initr_env(void)
(unsigned long)map_to_sysmem(gd->fdt_blob)); (unsigned long)map_to_sysmem(gd->fdt_blob));
#if (CONFIG_IS_ENABLED(SAVE_PREV_BL_INITRAMFS_START_ADDR) || \ #if (CONFIG_IS_ENABLED(SAVE_PREV_BL_INITRAMFS_START_ADDR) || \
CONFIG_IS_ENABLED(SAVE_PREV_BL_FDT_ADDR)) IS_ENABLED(CONFIG_SAVE_PREV_BL_FDT_ADDR))
save_prev_bl_data(); save_prev_bl_data();
#endif #endif