* Patrick Georgi Patrick.Georgi@secunet.com [110113 11:10]:
Hi,
attached patch provides a way to initialize the CMOS if the checksum test failed. For this to work, a CMOS dump must be stored as "cmos.default" (filetype "cmos default") in CBFS. After CMOS is rewritten, the system is rebooted to ensure that all parts of coreboot run with the new (working) configuration.
For a couple of boards, a "cmos_defaults_loaded" field is added to cmos.layout. This can be used to tell the system that defaults were applied by setting this flag in cmos.default and parsing/resetting it in the system.
Signed-off-by: Patrick Georgi patrick.georgi@secunet.com
Acked-by: Stefan Reinauer stepan@coreboot.org