lib: tpm: Add command to flush resources
[oweals/u-boot.git] / include / fsl_sec.h
index e6080d4ff078a4afb592a59c74f0d3d797fa98a5..61c671d6c734c4d4d59fe0df421309d07dd166b7 100644 (file)
@@ -24,7 +24,7 @@
 #define sec_in16(a)       in_be16(a)
 #define sec_clrbits32     clrbits_be32
 #define sec_setbits32     setbits_be32
-#else
+#elif defined(CONFIG_SYS_FSL_HAS_SEC)
 #error Neither CONFIG_SYS_FSL_SEC_LE nor CONFIG_SYS_FSL_SEC_BE is defined
 #endif