diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-05 17:55:03 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 07:41:40 -0500 |
commit | 4c77608942a4e84424cd2c19c90cd3b4f93f5d3d (patch) | |
tree | 02a3a6f1f1344737b24d5d85be340e5ac881e181 /arch | |
parent | 10f8bc09837968fd1264aae915ba135e1b4b6e5d (diff) | |
download | u-boot-4c77608942a4e84424cd2c19c90cd3b4f93f5d3d.tar.gz u-boot-4c77608942a4e84424cd2c19c90cd3b4f93f5d3d.tar.bz2 u-boot-4c77608942a4e84424cd2c19c90cd3b4f93f5d3d.zip |
Correct SPL uses of SAVE_PREV_BL_INITRAMFS_START_ADDR
This converts 2 usages of this option to the non-SPL form, since there is
no SPL_SAVE_PREV_BL_INITRAMFS_START_ADDR defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/lib/save_prev_bl_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/save_prev_bl_data.c b/arch/arm/lib/save_prev_bl_data.c index cd943eefe1..f7b23faf0d 100644 --- a/arch/arm/lib/save_prev_bl_data.c +++ b/arch/arm/lib/save_prev_bl_data.c @@ -62,7 +62,7 @@ int save_prev_bl_data(void) if (IS_ENABLED(CONFIG_SAVE_PREV_BL_FDT_ADDR)) env_set_addr("prevbl_fdt_addr", (void *)reg0); - if (!CONFIG_IS_ENABLED(SAVE_PREV_BL_INITRAMFS_START_ADDR)) + if (!IS_ENABLED(CONFIG_SAVE_PREV_BL_INITRAMFS_START_ADDR)) return 0; node = fdt_path_offset(fdt_blob, "/chosen"); |