path: root/lib/types
diff options
authorSamuel Mendoza-Jonas <>2018-11-29 15:36:31 +1100
committerSamuel Mendoza-Jonas <>2018-12-13 11:26:10 +1100
commit78c3a044d2302bacf27ac2d9ef179bc35824af4c (patch)
treef707733f12be825d3e18318d973ddc96e43751c9 /lib/types
parent87017f0478536fcb927010618be483a5efe9260c (diff)
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 <>
Diffstat (limited to 'lib/types')
1 files changed, 1 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud