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-Change-Id: I8bedc611712424bf1044cdca1972e34ffdd51abd
Original-Signed-off-by: Duncan Laurie <>
Original-Reviewed-by: Aaron Durbin <>
(cherry picked from commit e32d7a7e54e7006b84509dbc2bfe9b4b022eba71)
Signed-off-by: Marc Jones <>

Change-Id: Iad816669fb4054260f995f6f0bfb140121aaddff
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <>
1 file changed