summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2019-08-16 22:44:46 +0300
committerBills, Jason M <jason.m.bills@intel.com>2019-08-19 20:53:39 +0300
commit3834cee5c0cf03a4ef11e860a0355fcb0c7dd95c (patch)
tree452901f30cd1ec3ee6bf3d261ba20836093e34e7
parent7e3154c2e810e31c820fff83ec66bd6376a38685 (diff)
downloadprovingground-3834cee5c0cf03a4ef11e860a0355fcb0c7dd95c.tar.xz
Add setting for ResetOnSMI option
Tested: Combined with the IPMI command, confirmed that when I enable and disable reset on SMI, the value is correctly stored in the setting. Change-Id: I83be31b9edb4758639ab1e242752ae38ef180085 Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
-rw-r--r--settings/include/defaults.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/settings/include/defaults.hpp b/settings/include/defaults.hpp
index ad2f32c..d71ea42 100644
--- a/settings/include/defaults.hpp
+++ b/settings/include/defaults.hpp
@@ -190,6 +190,12 @@ inline void loadSettings(sdbusplus::asio::object_server &objectServer,
setting->addProperty("CrashdumpCount", static_cast<uint8_t>(0));
setting = &settings.emplace_back(
+ objectServer, "/xyz/openbmc_project/control/bmc_reset_disables",
+ "xyz.openbmc_project.Control.ResetDisables");
+
+ setting->addProperty("ResetOnSMI", false);
+
+ setting = &settings.emplace_back(
objectServer, "/com/intel/control/ocotshutdown_policy_config",
"com.intel.Control.OCOTShutdownPolicy");