stm32mp1: dynamically detect op-tee presence
[oweals/u-boot.git] / board / st / stm32mp1 / stm32mp1.c
index 3ccb12d817db08c324ffb4f3716f8bc2be27471f..496ca56a1458beb300faa2b12192b80088d30a70 100644 (file)
@@ -87,9 +87,7 @@ int checkboard(void)
        const char *fdt_compat;
        int fdt_compat_len;
 
-       if (IS_ENABLED(CONFIG_STM32MP1_OPTEE))
-               mode = "trusted with OP-TEE";
-       else if (IS_ENABLED(TFABOOT))
+       if (IS_ENABLED(CONFIG_TFABOOT))
                mode = "trusted";
        else
                mode = "basic";