Correct SPL use of STM32MP15X_STM32IMAGE
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:40:53 +0000 (15:40 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 12:41:40 +0000 (07:41 -0500)
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_STM32MP15X_STM32IMAGE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-stm32mp/fdt.c

index 3b4c05d..de5c5a5 100644 (file)
@@ -505,7 +505,7 @@ int ft_system_setup(void *blob, struct bd_info *bd)
                 * under CONFIG_STM32MP15x_STM32IMAGE only for compatibility
                 * when FIP is not used by TF-A
                 */
-               if (CONFIG_IS_ENABLED(STM32MP15x_STM32IMAGE) &&
+               if (IS_ENABLED(CONFIG_STM32MP15x_STM32IMAGE) &&
                    !tee_find_device(NULL, NULL, NULL, NULL))
                        stm32_fdt_disable_optee(blob);
        }