From 78c3a044d2302bacf27ac2d9ef179bc35824af4c Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Thu, 29 Nov 2018 15:36:31 +1100 Subject: discover/platform-powerpc: read bootdev config from IPMI boot mailbox The IPMI Get System Boot Options commands includes parameter 7, the "boot initiator mailbox". This can be used to hold arbitrary data to influence the boot order. Use this to provide an alternate bootdev configuration to Petitboot that will override the one saved to NVRAM. This provides more fine grained override options than the existing device-type based overrides. Signed-off-by: Samuel Mendoza-Jonas --- lib/types/types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/types/types.h') diff --git a/lib/types/types.h b/lib/types/types.h index 39760d9..9d83d87 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -188,6 +188,7 @@ struct config { unsigned int ipmi_bootdev; bool ipmi_bootdev_persistent; + bool ipmi_bootdev_mailbox; char *http_proxy; char *https_proxy; -- cgit v1.2.1