Keith Hui has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/38368 )
Change subject: sb/intel/i82371eb: Enable upper NVRAM bank ......................................................................
sb/intel/i82371eb: Enable upper NVRAM bank
Change-Id: I9ad127ca4394e27fc055ddf03012a195cb03bd94 Signed-off-by: Keith Hui buurin@gmail.com --- M src/southbridge/intel/i82371eb/bootblock.c 1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/38368/1
diff --git a/src/southbridge/intel/i82371eb/bootblock.c b/src/southbridge/intel/i82371eb/bootblock.c index 711b317..2688e37 100644 --- a/src/southbridge/intel/i82371eb/bootblock.c +++ b/src/southbridge/intel/i82371eb/bootblock.c @@ -61,4 +61,9 @@ 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); + }
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38368 )
Change subject: sb/intel/i82371eb: Enable upper NVRAM bank ......................................................................
Patch Set 1: Code-Review+1
(2 comments)
https://review.coreboot.org/c/coreboot/+/38368/1/src/southbridge/intel/i8237... File src/southbridge/intel/i82371eb/bootblock.c:
https://review.coreboot.org/c/coreboot/+/38368/1/src/southbridge/intel/i8237... PS1, Line 67: RTC_POS_DECODE | UPPER_RAM_EN | RTC_ENABLE); Fits on the previous line (we switched to 96 characters not too long ago)
https://review.coreboot.org/c/coreboot/+/38368/1/src/southbridge/intel/i8237... PS1, Line 68: Empty line
Hello Patrick Rudolph, Angel Pons, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38368
to look at the new patch set (#2).
Change subject: sb/intel/i82371eb: Enable upper NVRAM bank ......................................................................
sb/intel/i82371eb: Enable upper NVRAM bank
Change-Id: I9ad127ca4394e27fc055ddf03012a195cb03bd94 Signed-off-by: Keith Hui buurin@gmail.com --- M src/southbridge/intel/i82371eb/bootblock.c 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/38368/2
Keith Hui has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38368 )
Change subject: sb/intel/i82371eb: Enable upper NVRAM bank ......................................................................
Patch Set 2:
(2 comments)
https://review.coreboot.org/c/coreboot/+/38368/1/src/southbridge/intel/i8237... File src/southbridge/intel/i82371eb/bootblock.c:
https://review.coreboot.org/c/coreboot/+/38368/1/src/southbridge/intel/i8237... PS1, Line 67: RTC_POS_DECODE | UPPER_RAM_EN | RTC_ENABLE);
Fits on the previous line (we switched to 96 characters not too long ago)
Done
https://review.coreboot.org/c/coreboot/+/38368/1/src/southbridge/intel/i8237... PS1, Line 68:
Empty line
Done
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38368 )
Change subject: sb/intel/i82371eb: Enable upper NVRAM bank ......................................................................
Patch Set 2: Code-Review+2
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38368 )
Change subject: sb/intel/i82371eb: Enable upper NVRAM bank ......................................................................
Patch Set 2: Code-Review+1
Hello Patrick Rudolph, Angel Pons, Paul Menzel, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38368
to look at the new patch set (#3).
Change subject: sb/intel/i82371eb: Enable upper NVRAM bank ......................................................................
sb/intel/i82371eb: Enable upper NVRAM bank
Change-Id: I9ad127ca4394e27fc055ddf03012a195cb03bd94 Signed-off-by: Keith Hui buurin@gmail.com --- M src/southbridge/intel/i82371eb/bootblock.c 1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/38368/3
Hello Patrick Rudolph, Angel Pons, Paul Menzel, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38368
to look at the new patch set (#4).
Change subject: sb/intel/i82371eb: Enable upper NVRAM bank ......................................................................
sb/intel/i82371eb: Enable upper NVRAM bank
Change-Id: I9ad127ca4394e27fc055ddf03012a195cb03bd94 Signed-off-by: Keith Hui buurin@gmail.com --- M src/southbridge/intel/i82371eb/bootblock.c 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/38368/4
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38368 )
Change subject: sb/intel/i82371eb: Enable upper NVRAM bank ......................................................................
Patch Set 4: Code-Review+2
(1 comment)
https://review.coreboot.org/c/coreboot/+/38368/4/src/southbridge/intel/i8237... File src/southbridge/intel/i82371eb/bootblock.c:
https://review.coreboot.org/c/coreboot/+/38368/4/src/southbridge/intel/i8237... PS4, Line 67: The blank line came back? Judging from the other patchsets, I guess there was some git entropy?
Hello Patrick Rudolph, Angel Pons, Paul Menzel, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/38368
to look at the new patch set (#6).
Change subject: sb/intel/i82371eb: Enable upper NVRAM bank ......................................................................
sb/intel/i82371eb: Enable upper NVRAM bank
Change-Id: I9ad127ca4394e27fc055ddf03012a195cb03bd94 Signed-off-by: Keith Hui buurin@gmail.com --- M src/southbridge/intel/i82371eb/bootblock.c 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/38368/6
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38368 )
Change subject: sb/intel/i82371eb: Enable upper NVRAM bank ......................................................................
Patch Set 6: Code-Review+2
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38368 )
Change subject: sb/intel/i82371eb: Enable upper NVRAM bank ......................................................................
Patch Set 6:
(1 comment)
https://review.coreboot.org/c/coreboot/+/38368/4/src/southbridge/intel/i8237... File src/southbridge/intel/i82371eb/bootblock.c:
https://review.coreboot.org/c/coreboot/+/38368/4/src/southbridge/intel/i8237... PS4, Line 67:
The blank line came back? Judging from the other patchsets, I guess there was some git entropy?
Done
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/38368 )
Change subject: sb/intel/i82371eb: Enable upper NVRAM bank ......................................................................
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 --- M src/southbridge/intel/i82371eb/bootblock.c 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
diff --git a/src/southbridge/intel/i82371eb/bootblock.c b/src/southbridge/intel/i82371eb/bootblock.c index 711b317..581db81 100644 --- a/src/southbridge/intel/i82371eb/bootblock.c +++ b/src/southbridge/intel/i82371eb/bootblock.c @@ -61,4 +61,7 @@ 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); }