sb,soc/intel: Fix GNVS OperationRegion

Structure with chromeos_acpi_t is expected to have size
0x1000. Only ones with device_nvs_t have size 0x2000.

Change-Id: I2eaa3a008566853b4144fa34ccffaa232d5d8e24
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48767
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
This commit is contained in:
Kyösti Mälkki 2020-12-19 19:33:12 +02:00 committed by Hung-Te Lin
parent 39f582815d
commit e1b4be1470
5 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@ Name (\PICM, 0) // IOAPIC/8259
External (NVSA) External (NVSA)
OperationRegion (GNVS, SystemMemory, NVSA, 0x2000) OperationRegion (GNVS, SystemMemory, NVSA, 0x1000)
Field (GNVS, ByteAcc, NoLock, Preserve) Field (GNVS, ByteAcc, NoLock, Preserve)
{ {
/* Miscellaneous */ /* Miscellaneous */

View File

@ -12,7 +12,7 @@ Name(\PICM, 0) // IOAPIC/8259
External(NVSA) External(NVSA)
OperationRegion (GNVS, SystemMemory, NVSA, 0x2000) OperationRegion (GNVS, SystemMemory, NVSA, 0x100)
Field (GNVS, ByteAcc, NoLock, Preserve) Field (GNVS, ByteAcc, NoLock, Preserve)
{ {
/* Miscellaneous */ /* Miscellaneous */

View File

@ -13,7 +13,7 @@ Name (\PICM, 0) // IOAPIC/8259
External (NVSA) External (NVSA)
OperationRegion (GNVS, SystemMemory, NVSA, 0x2000) OperationRegion (GNVS, SystemMemory, NVSA, 0x1000)
Field (GNVS, ByteAcc, NoLock, Preserve) Field (GNVS, ByteAcc, NoLock, Preserve)
{ {
/* Miscellaneous */ /* Miscellaneous */

View File

@ -11,7 +11,7 @@ Name(\PICM, 0) // IOAPIC/8259
*/ */
External(NVSA) External(NVSA)
OperationRegion (GNVS, SystemMemory, NVSA, 0xf00) OperationRegion (GNVS, SystemMemory, NVSA, 0x1000)
Field (GNVS, ByteAcc, NoLock, Preserve) Field (GNVS, ByteAcc, NoLock, Preserve)
{ {
/* Miscellaneous */ /* Miscellaneous */

View File

@ -12,7 +12,7 @@ Name (\PICM, 0) // IOAPIC/8259
*/ */
External (NVSA) External (NVSA)
OperationRegion (GNVS, SystemMemory, NVSA, 0xf00) OperationRegion (GNVS, SystemMemory, NVSA, 0x1000)
Field (GNVS, ByteAcc, NoLock, Preserve) Field (GNVS, ByteAcc, NoLock, Preserve)
{ {
/* Miscellaneous */ /* Miscellaneous */