projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
246835c
)
MA-9909-2 [iot] uboot run into no-secure mode by default
author
Chen Guoyin
<guoyin.chen@nxp.com>
Thu, 13 Jul 2017 07:47:22 +0000
(15:47 +0800)
committer
Jason Liu
<jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:02 +0000
(
02:37
+0800)
Add log to indicate whether the board is in secure mode
Change-Id: I67544498c7ee7b591ce1f6cac899cee9e5867e3e
Signed-off-by: Chen Guoyin <guoyin.chen@nxp.com>
board/freescale/pico-imx7d/pico-imx7d.c
patch
|
blob
|
history
diff --git
a/board/freescale/pico-imx7d/pico-imx7d.c
b/board/freescale/pico-imx7d/pico-imx7d.c
index
df82936
..
3442c4c
100755
(executable)
--- a/
board/freescale/pico-imx7d/pico-imx7d.c
+++ b/
board/freescale/pico-imx7d/pico-imx7d.c
@@
-646,7
+646,13
@@
u32 get_board_rev(void)
int checkboard(void)
{
- puts("Board: i.MX7D PICOSOM\n");
+ char *mode;
+ if (IS_ENABLED(CONFIG_ARMV7_BOOT_SEC_DEFAULT))
+ mode = "secure";
+ else
+ mode = "non-secure";
+
+ printf("Board: i.MX7D PICOSOM in %s mode\n", mode);
return 0;
}