[Skiboot] [PATCH 33/40] Initialize Secure/Trusted Boot (STB) during init
Stewart Smith
stewart at linux.vnet.ibm.com
Mon Oct 10 19:44:14 AEDT 2016
From: Claudio Carvalho <cclaudio at linux.vnet.ibm.com>
While currently, the only platform with any support for trusted boot
is a reworked habanero with a new hostboot, we act on the device
tree entry of /ibm,secureboot which will be added by earlier system
firmware (hostboot, or a simulator) in the event that we should
be doing secure/trusted boot.
Based-on-habanero-only-patch-by: Claudio Carvalho <cclaudio at linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
core/init.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/core/init.c b/core/init.c
index 13b6acb..f604d61 100644
--- a/core/init.c
+++ b/core/init.c
@@ -795,6 +795,9 @@ void __noreturn __nomcount main_cpu_entry(const void *fdt)
*/
probe_platform();
+ /* Secure/Trusted Boot init. We look for /ibm,secureboot in DT */
+ stb_init();
+
/* Initialize the rest of the cpu thread structs */
init_all_cpus();
--
2.7.4
More information about the Skiboot
mailing list