coreboot-kgpe-d16/src/arch/x86
Patrick Georgi fab35e3f73 Move cmos.default handling to bootblock
The cmos.default code wasn't actually used so far, due to an oversight
when forward-porting this feature from an old branch.

- Extend walkcbfs' use by factoring out the stage handling into C code.
- New sanitize_cmos() function that looks if CMOS data is invalid and
  cmos.default exists and if so overwrites CMOS with cmos.default data.
- Use sanitize_cmos() in both bootblock implementations.
- Drop the need to reboot after writing CMOS: CMOS wasn't used so far,
  so we can go on without a reboot.
- Remove the restriction that cmos.default only works on CAR boards.
- Always build in cmos.default support on boards that
  USE_OPTION_TABLE.

Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6436 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2011-03-08 07:50:43 +00:00
..
acpi After this has been brought up many times before, rename src/arch/i386 to 2010-12-11 20:33:41 +00:00
boot This patch fixes an 'write_tables: coreboot table didn't fit (f0221)' issue. 2011-01-24 21:07:57 +00:00
include Move cmos.default handling to bootblock 2011-03-08 07:50:43 +00:00
init Move cmos.default handling to bootblock 2011-03-08 07:50:43 +00:00
lib Move cmos.default handling to bootblock 2011-03-08 07:50:43 +00:00
llshell After this has been brought up many times before, rename src/arch/i386 to 2010-12-11 20:33:41 +00:00
coreboot_ram.ld After this has been brought up many times before, rename src/arch/i386 to 2010-12-11 20:33:41 +00:00
Kconfig Move cmos.default handling to bootblock 2011-03-08 07:50:43 +00:00
Makefile.bigbootblock.inc Add support for cbfs-files-y to the build system. 2010-12-16 07:36:28 +00:00
Makefile.bootblock.inc Move cmos.default handling to bootblock 2011-03-08 07:50:43 +00:00
Makefile.inc Reliably build arbitrary Kconfig-based revisions of SeaBIOS 2011-02-07 20:16:40 +00:00