From 21568304ef48cb66acc9fb7d89b7d2fa8bd95e48 Mon Sep 17 00:00:00 2001 From: Dimitris Papastamos Date: Wed, 7 Jun 2017 13:45:41 +0100 Subject: sp_min: Implement `sp_min_plat_runtime_setup()` On ARM platforms before exiting from SP_MIN ensure that the default console is switched to the runtime serial port. Change-Id: I0ca0d42cc47e345d56179eac16aa3d6712767c9b Signed-off-by: Dimitris Papastamos --- bl32/sp_min/sp_min_main.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bl32') diff --git a/bl32/sp_min/sp_min_main.c b/bl32/sp_min/sp_min_main.c index 45ad03f9..73a5d69a 100644 --- a/bl32/sp_min/sp_min_main.c +++ b/bl32/sp_min/sp_min_main.c @@ -176,6 +176,12 @@ void sp_min_main(void) * corresponding to the desired security state after the next ERET. */ sp_min_prepare_next_image_entry(); + + /* + * Perform any platform specific runtime setup prior to cold boot exit + * from SP_MIN. + */ + sp_min_plat_runtime_setup(); } /****************************************************************************** -- cgit v1.2.3