lib: optee: remove the duplicate CONFIG_OPTEE
[platform/kernel/u-boot.git] / common / spl / spl.c
index ed94d51..a9304d4 100644 (file)
@@ -776,7 +776,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
                spl_invoke_atf(&spl_image);
                break;
 #endif
-#if CONFIG_IS_ENABLED(OPTEE)
+#if CONFIG_IS_ENABLED(OPTEE_IMAGE)
        case IH_OS_TEE:
                debug("Jumping to U-Boot via OP-TEE\n");
                spl_board_prepare_for_optee(spl_image.fdt_addr);