Johnny Lin has uploaded a new patch set (#15) to the change originally created by Jingle Hsu. ( https://review.coreboot.org/c/coreboot/+/43005 )
Change subject: mb/ocp/deltalake: Send OEM IPMI command for CMOS clear on RTC failure ......................................................................
mb/ocp/deltalake: Send OEM IPMI command for CMOS clear on RTC failure
When RTC failure is detected, send IPMI OEM command to issue CMOS clear. This is to let the payload (LinuxBoot) handle the IPMI OEM CMOS clear command by resetting RTC data, erasing RW_VPD (TODO) and add a SEL, then reboot the system.
Tested=on OCP Delta Lake, after removing RTC battery we can see the above flow can be executed correctly.
Signed-off-by: Jingle Hsu jingle_hsu@wiwynn.com Change-Id: I27428c02e99040754e15e07782ec1ad8524def2f --- M src/mainboard/ocp/deltalake/ipmi.c M src/mainboard/ocp/deltalake/ipmi.h M src/mainboard/ocp/deltalake/romstage.c 3 files changed, 74 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/43005/15