commit | 738df262dfd64e9d4f5d840a7c2ef8fd019ceebe | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Wed Apr 24 16:14:22 2019 +0200 |
committer | Yann Gautier <yann.gautier@st.com> | Mon Sep 02 17:52:53 2019 +0200 |
tree | c366532151a81ea4ceeefe32202f3e467b4aceee | |
parent | 7ffe84bf68d9ffb02e34c505be715828ce7620ff [diff] [blame] |
stm32mp1: keep console during runtime The runtime console is only kept in DEBUG configuration. Change-Id: I0447dfcacb9a63a12bcdab7c55584d70c3220e5b Signed-off-by: Yann Gautier <yann.gautier@st.com>
diff --git a/plat/st/stm32mp1/sp_min/sp_min_setup.c b/plat/st/stm32mp1/sp_min/sp_min_setup.c index e54249f..417115b 100644 --- a/plat/st/stm32mp1/sp_min/sp_min_setup.c +++ b/plat/st/stm32mp1/sp_min/sp_min_setup.c
@@ -134,6 +134,11 @@ 0) { panic(); } + +#ifdef DEBUG + console_set_scope(&console.console, + CONSOLE_FLAG_BOOT | CONSOLE_FLAG_RUNTIME); +#endif } }