summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/clear-once
Commit message (Collapse)AuthorAgeFilesLines
* clear-once.service: Call fw_setenv twice for openbmconceAdriana Kobylak2017-10-251-0/+1
| | | | | | | | | | | | | | | Support for u-boot redundant environment variables was added where u-boot alternates writing to each environment every time an variable is written. But initramfs doesn't know which environment is active so it always reads from the same one. Therefore need to twice set the environments that initramfs reads so that they're written to both environments and initramfs can read it. Resolves openbmc/openbmc#2292 Change-Id: Ief7fe504199ed9c7646056178bee2992df886e8d Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Add clear-once serviceMilton D. Miller II2016-03-072-0/+23
Create a service unit to clear the openbmconce variable in the the u-boot environment with fw_setenv. Set the timeout to allow the flash to be written, even though we currently just update the ram shadow file. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
OpenPOWER on IntegriCloud