diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-11-29 15:36:31 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-12-13 11:26:10 +1100 |
commit | 78c3a044d2302bacf27ac2d9ef179bc35824af4c (patch) | |
tree | f707733f12be825d3e18318d973ddc96e43751c9 /lib/types/types.h | |
parent | 87017f0478536fcb927010618be483a5efe9260c (diff) | |
download | talos-petitboot-78c3a044d2302bacf27ac2d9ef179bc35824af4c.tar.gz talos-petitboot-78c3a044d2302bacf27ac2d9ef179bc35824af4c.zip |
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 <sam@mendozajonas.com>
Diffstat (limited to 'lib/types/types.h')
-rw-r--r-- | lib/types/types.h | 1 |
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; |