chromeec: Clear post code before reboot to RO
When doing an EC requested reboot to RO mode clear the
saved post code in order to prevent confusing events in
the log where the system is rebooted intentionally.
TEST=build and boot on samus, run FAFT, check for odd
eventlog entries about last post code 0x31 when it is
rebooted during samus romstage entry point.
Original-Signed-off-by: Duncan Laurie <firstname.lastname@example.org>
Original-Reviewed-by: Aaron Durbin <email@example.com>
(cherry picked from commit e32d7a7e54e7006b84509dbc2bfe9b4b022eba71)
Signed-off-by: Marc Jones <firstname.lastname@example.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <email@example.com>
1 file changed