sb/intel/i82371eb: Enable upper NVRAM bank

Change-Id: I9ad127ca4394e27fc055ddf03012a195cb03bd94
Signed-off-by: Keith Hui <buurin@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38368
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Keith Hui 2020-01-11 13:53:10 -05:00 committed by Patrick Georgi
parent eaba79cc66
commit 7af59f709a
1 changed files with 3 additions and 0 deletions

View File

@ -61,4 +61,7 @@ void bootblock_early_southbridge_init(void)
reg16 |= LOWER_BIOS_ENABLE | EXT_BIOS_ENABLE | EXT_BIOS_ENABLE_1MB;
reg16 &= ~(WRITE_PROTECT_ENABLE); /* Disable ROM write access. */
pci_write_config16(dev, XBCS, reg16);
/* Enable (RTC and) upper NVRAM bank. */
pci_write_config8(dev, RTCCFG, RTC_POS_DECODE | UPPER_RAM_EN | RTC_ENABLE);
}