From 75ccc327b196f3eacea9612f226fd971ea3ff82d Mon Sep 17 00:00:00 2001 From: "Jason M. Bills" Date: Thu, 19 Sep 2019 14:01:06 -0700 Subject: Remove RestartCause setting RestartCause is handled by power-control, so remove it from settings. Tested: Combined with the power-control changes, triggered software, command, button, watchdog, and power restore restart types and confirmed that the restart cause was correctly reported. Change-Id: I748c70749bdb7169e483758e6af7a58fef2319a5 Signed-off-by: Jason M. Bills --- settings/include/defaults.hpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/settings/include/defaults.hpp b/settings/include/defaults.hpp index d71ea42..387993f 100644 --- a/settings/include/defaults.hpp +++ b/settings/include/defaults.hpp @@ -286,13 +286,6 @@ inline void loadSettings(sdbusplus::asio::object_server &objectServer, setting->addProperty("RetryCount", static_cast(6)); setting->addProperty("RetryIntervalMS", static_cast(20)); - setting = &settings.emplace_back( - objectServer, "/xyz/openbmc_project/control/host0/restart_cause", - "xyz.openbmc_project.Common.RestartCause"); - - setting->addProperty("RestartCause", - "xyz.openbmc_project.State.Host.RestartCause.Unknown"); - setting = &settings.emplace_back( objectServer, "/xyz/openbmc_project/control/host0/ac_boot", "xyz.openbmc_project.Common.ACBoot"); -- cgit v1.2.3