Add option to enable/disable forced warm reboots
Some OpenBMC systems don't support a forced warm reboot. Provide a
compile option to enable/disable.
Tested:
- Confirmed that if feature is disabled, then AllowedHostTransitions did
not have ForceWarmReboot option.
Change-Id: I207b8fa7e3f60efbf406397ff4df980a5d2677ed
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meson.options b/meson.options
index c2891bc..0c86bcb 100644
--- a/meson.options
+++ b/meson.options
@@ -101,6 +101,11 @@
description : 'Enable warm reboots of the system',
)
+option('force-warm-reboot', type : 'feature',
+ value : 'enabled',
+ description : 'Enable forced warm reboots of the system',
+)
+
option('host-gpios', type : 'feature',
value : 'disabled',
description : 'Enable gpio mechanism to check host state.',