Correct SPL use of SL28_SPL_LOADS_OPTEE_BL32
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:40:49 +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_SL28_SPL_LOADS_OPTEE_BL32 defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
board/kontron/sl28/sl28.c

index 2579236..e78a0d5 100644 (file)
@@ -188,7 +188,7 @@ int ft_board_setup(void *blob, struct bd_info *bd)
 
        fdt_fixup_icid(blob);
 
-       if (CONFIG_IS_ENABLED(SL28_SPL_LOADS_OPTEE_BL32)) {
+       if (IS_ENABLED(CONFIG_SL28_SPL_LOADS_OPTEE_BL32)) {
                node = fdt_node_offset_by_compatible(blob, -1, "linaro,optee-tz");
                if (node)
                        fdt_set_node_status(blob, node, FDT_STATUS_OKAY);