diff options
| author | Andrew Geissler <andrewg@us.ibm.com> | 2017-05-22 14:41:58 -0500 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2017-06-02 03:37:29 +0000 |
| commit | 48696ce1a4a5b894382f0c9336a93d43f23b5fb1 (patch) | |
| tree | e80d62bef18e7d3de0f51e4faa95ff945f11bf28 | |
| parent | 134eb58782003a8d55f72587fcbc29a2593767d7 (diff) | |
| download | phosphor-state-manager-48696ce1a4a5b894382f0c9336a93d43f23b5fb1.tar.gz phosphor-state-manager-48696ce1a4a5b894382f0c9336a93d43f23b5fb1.zip | |
Increase boot count for SBE side switch
The host gets one additional boot try when switching
over to the alternate SBE seeprom side
Change-Id: Ifbf3bfaf649bc15737aa2e03414c0d5fee216b2e
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
| -rw-r--r-- | host_state_manager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host_state_manager.cpp b/host_state_manager.cpp index 6731432..f33c8ad 100644 --- a/host_state_manager.cpp +++ b/host_state_manager.cpp @@ -47,7 +47,8 @@ constexpr auto REBOOTCOUNTER_INTERFACE("org.openbmc.SensorValue"); constexpr auto SYSTEMD_PROPERTY_IFACE = "org.freedesktop.DBus.Properties"; constexpr auto SYSTEMD_INTERFACE_UNIT = "org.freedesktop.systemd1.Unit"; -constexpr auto DEFAULT_BOOTCOUNT = 2; +// TODO openbmc/openbmc#1646 - boot count needs to be defined in 1 place +constexpr auto DEFAULT_BOOTCOUNT = 3; /* Map a system state to the HostState */ const std::map<std::string, server::Host::HostState> SYS_HOST_STATE_TABLE = { |

