coreboot-kgpe-d16/src/arch/x86
Patrick Georgi 315dec48ea bootblock: Reduce register load
The common part of the bootblock resets the nvram data if it's found
to be invalid. Since that code is compiled with romcc in i386 mode,
there's a shortage on registers.

Try to reduce the strain by doing things smarter: cmos_write_inner
is the same as cmos_write, just that it doesn't check if the RTC is
disabled. Since we just disabled it before, we can assume that it is so.

Change-Id: Ic85eb2a5df949d1c1aff654bc1b40d6f2ff71756
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/2296
Tested-by: build bot (Jenkins)
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2013-02-06 15:05:38 +01:00
..
acpi
boot smbios: show CONFIG_LOCALVERSION in DMI bios_version 2013-02-04 18:23:32 +01:00
include bootblock: Reduce register load 2013-02-06 15:05:38 +01:00
init Refactor bootblock initialisation 2012-11-30 00:57:58 +01:00
lib Extend CBFS to support arbitrary ROM source media. 2013-01-30 17:58:32 +01:00
llshell llshell: fix build without romcc 2012-06-14 21:21:06 +02:00
coreboot_ram.ld Implement GCC code coverage analysis 2013-01-12 19:09:55 +01:00
Kconfig Add mainboard hook to bootblock 2012-11-30 00:58:03 +01:00
Makefile.inc Don't add another Kconfig special case for Tiano 2013-02-05 23:37:54 +01:00