projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02f5d82
)
stm32mp1: keep console during runtime
author
Yann Gautier
<
[email protected]
>
Wed, 24 Apr 2019 14:14:22 +0000
(16:14 +0200)
committer
Yann Gautier
<
[email protected]
>
Mon, 2 Sep 2019 15:52:53 +0000
(17:52 +0200)
The runtime console is only kept in DEBUG configuration.
Change-Id: I0447dfcacb9a63a12bcdab7c55584d70c3220e5b
Signed-off-by: Yann Gautier <
[email protected]
>
plat/st/stm32mp1/sp_min/sp_min_setup.c
patch
|
blob
|
history
diff --git
a/plat/st/stm32mp1/sp_min/sp_min_setup.c
b/plat/st/stm32mp1/sp_min/sp_min_setup.c
index e54249f7441f7ddce8f7b284ae35c30034e68846..417115b6540e52496d550f281c520500e8c17bac 100644
(file)
--- a/
plat/st/stm32mp1/sp_min/sp_min_setup.c
+++ b/
plat/st/stm32mp1/sp_min/sp_min_setup.c
@@
-134,6
+134,11
@@
void sp_min_early_platform_setup2(u_register_t arg0, u_register_t arg1,
0) {
panic();
}
+
+#ifdef DEBUG
+ console_set_scope(&console.console,
+ CONSOLE_FLAG_BOOT | CONSOLE_FLAG_RUNTIME);
+#endif
}
}