summaryrefslogtreecommitdiff
path: root/board/warp7
diff options
context:
space:
mode:
Diffstat (limited to 'board/warp7')
-rw-r--r--board/warp7/warp7.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/board/warp7/warp7.c b/board/warp7/warp7.c
index cffee4a199..da9afb4ccd 100644
--- a/board/warp7/warp7.c
+++ b/board/warp7/warp7.c
@@ -152,7 +152,14 @@ int board_init(void)
int checkboard(void)
{
- puts("Board: WARP7\n");
+ char *mode;
+
+ if (IS_ENABLED(CONFIG_ARMV7_BOOT_SEC_DEFAULT))
+ mode = "secure";
+ else
+ mode = "non-secure";
+
+ printf("Board: WARP7 in %s mode\n", mode);
return 0;
}