summaryrefslogtreecommitdiff
path: root/board/freescale/common/arm_sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/common/arm_sleep.c')
-rw-r--r--board/freescale/common/arm_sleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/common/arm_sleep.c b/board/freescale/common/arm_sleep.c
index c06b862..8e8b7fa 100644
--- a/board/freescale/common/arm_sleep.c
+++ b/board/freescale/common/arm_sleep.c
@@ -6,7 +6,7 @@
#include <common.h>
#include <asm/io.h>
-#if !defined(CONFIG_ARMV7_NONSEC) || !defined(CONFIG_ARMV7_VIRT)
+#ifndef CONFIG_ARMV7_NONSEC
#error " Deep sleep needs non-secure mode support. "
#else
#include <asm/secure.h>