RTC: Enable extended CMOS in the bootblock

This makes it available early in romstage without having to
worry when the different romstagse enable it.

Check for extended CMOS to be enabled in early romstage.

This is used by a later commit which uses the extended
CMOS region for stoage.

Change-Id: I9e026d48499c63d6503c2b020d4cc3047126fa93
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/1306
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Duncan Laurie 2012-06-23 15:43:41 -07:00 committed by Patrick Georgi
parent 9a380abaa2
commit 8e515d36b4
1 changed files with 3 additions and 0 deletions

View File

@ -72,4 +72,7 @@ static void bootblock_southbridge_init(void)
#endif #endif
enable_spi_prefetch(); enable_spi_prefetch();
enable_port80_on_lpc(); enable_port80_on_lpc();
/* Enable upper 128bytes of CMOS */
RCBA32(RC) = (1 << 2);
} }