Allow coreboot to initialize CMOS if checksum is invalid.
authorPatrick Georgi <patrick.georgi@secunet.com>
Fri, 14 Jan 2011 07:40:24 +0000 (07:40 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Fri, 14 Jan 2011 07:40:24 +0000 (07:40 +0000)
commita865b17eff05fa3936494716401f6aa9a9ef6358
tree3c0baa84f61c582638fd0c333a1020c5aa8519b0
parent4c8e269841bbdfd3325b8eb98a651a8b1df85399
Allow coreboot to initialize CMOS if checksum is invalid.

If a file "cmos.default", type "cmos default"(0xaa) is in CBFS,
a wrong checksum leads to coreboot rewriting the first 128 bytes
(except for clock data) with the data in cmos.default, then
reboots the system so every component of coreboot works with the
same set of values.

Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6253 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
src/arch/x86/Kconfig
src/mainboard/getac/p470/cmos.layout
src/mainboard/kontron/986lcd-m/cmos.layout
src/mainboard/roda/rk886ex/cmos.layout
src/pc80/Makefile.inc
src/pc80/mc146818rtc_early.c
util/cbfstool/cbfs.h
util/cbfstool/common.c