1 #include "item_updater_helper.hpp"
2 
3 #include "utils.hpp"
4 
5 namespace phosphor
6 {
7 namespace software
8 {
9 namespace updater
10 {
11 
setEntry(const std::string &,uint8_t)12 void Helper::setEntry(const std::string& /* entryId */, uint8_t /* value */)
13 {
14     // Empty
15 }
16 
clearEntry(const std::string &)17 void Helper::clearEntry(const std::string& /* entryId */)
18 {
19     // Empty
20 }
21 
cleanup()22 void Helper::cleanup()
23 {
24     // Empty
25 }
26 
factoryReset()27 void Helper::factoryReset()
28 {
29     // Set openbmconce=factory-reset env in U-Boot.
30     // The init will cleanup rwfs during boot.
31     utils::execute("/sbin/fw_setenv", "openbmconce", "factory-reset");
32 }
33 
removeVersion(const std::string &)34 void Helper::removeVersion(const std::string& /* flashId */)
35 {
36     // Empty
37 }
38 
updateUbootVersionId(const std::string &)39 void Helper::updateUbootVersionId(const std::string& /* flashId */)
40 {
41     // Empty
42 }
43 
mirrorAlt()44 void Helper::mirrorAlt()
45 {
46     // Empty
47 }
48 
49 } // namespace updater
50 } // namespace software
51 } // namespace phosphor
52