mainboards: Add SMMSTORE region in chromeos configs

Only for those that are x86 and also have a RW_LEGACY region.
The assumption is that all devices touched have 64k block sizes when
choosing size and alignment of the region.

Change-Id: I12addb137604f003d1296f34f555dae219330b18
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/28532
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Patrick Georgi 2018-09-06 18:15:43 +02:00
parent 15192da7c7
commit 803cf02801
27 changed files with 54 additions and 27 deletions

View File

@ -22,7 +22,8 @@ FLASH@0xff800000 0x800000 {
}
RW_VPD@0x1f8000 0x2000
RW_UNUSED@0x1fa000 0x6000
RW_LEGACY(CBFS)@0x200000 0x200000
SMMSTORE@0x200000 0x40000
RW_LEGACY(CBFS)@0x240000 0x1c0000
WP_RO@0x400000 0x200000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -22,7 +22,8 @@ FLASH@0xff800000 0x800000 {
}
RW_VPD@0x1f8000 0x2000
RW_UNUSED@0x1fa000 0x6000
RW_LEGACY(CBFS)@0x200000 0x200000
SMMSTORE@0x200000 0x40000
RW_LEGACY(CBFS)@0x240000 0x1c0000
WP_RO@0x400000 0x200000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -23,7 +23,8 @@ FLASH@0xff800000 0x800000 {
RW_ENVIRONMENT@0x1f8000 0x4000
RW_VPD@0x1fc000 0x2000
RW_UNUSED@0x1fe000 0x2000
RW_LEGACY(CBFS)@0x200000 0x200000
SMMSTORE@0x200000 0x40000
RW_LEGACY(CBFS)@0x240000 0x1c0000
WP_RO@0x400000 0x200000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -22,7 +22,8 @@ FLASH@0xff800000 0x800000 {
}
RW_VPD@0x1f8000 0x2000
RW_UNUSED@0x1fa000 0x6000
RW_LEGACY(CBFS)@0x200000 0x200000
SMMSTORE@0x200000 0x40000
RW_LEGACY(CBFS)@0x240000 0x1c0000
WP_RO@0x400000 0x200000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -27,7 +27,8 @@ FLASH@0xff000000 0x1000000 {
RW_VPD@0x28000 0x2000
RW_NVRAM@0x2a000 0x6000
}
RW_LEGACY(CBFS)@0x800000 0x200000
SMMSTORE@0x800000 0x40000
RW_LEGACY(CBFS)@0x840000 0x1c0000
WP_RO@0xa00000 0x400000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -27,7 +27,8 @@ FLASH@0xff000000 0x1000000 {
RW_VPD@0x28000 0x2000
RW_NVRAM@0x2a000 0x6000
}
RW_LEGACY(CBFS)@0x800000 0x200000
SMMSTORE@0x800000 0x40000
RW_LEGACY(CBFS)@0x840000 0x1c0000
WP_RO@0xa00000 0x400000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -22,7 +22,8 @@ FLASH@0xff000000 0x1000000 {
}
RW_VPD@0x7f8000 0x2000
RW_NVRAM@0x7fa000 0x6000
RW_LEGACY(CBFS)@0x800000 0x200000
SMMSTORE@0x800000 0x40000
RW_LEGACY(CBFS)@0x840000 0x1c0000
WP_RO@0xa00000 0x400000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -22,7 +22,8 @@ FLASH@0xff800000 0x800000 {
}
RW_VPD@0x1f8000 0x2000
RW_UNUSED@0x1fa000 0x6000
RW_LEGACY(CBFS)@0x200000 0x200000
SMMSTORE@0x200000 0x40000
RW_LEGACY(CBFS)@0x240000 0x1c0000
WP_RO@0x400000 0x200000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -24,7 +24,8 @@ FLASH@0xFF000000 0x1000000 {
RW_VPD@0x465000 0x2000
RW_NVRAM@0x467000 0x5000
RW_UNUSED@0x46C000 0x14000
RW_LEGACY@0x480000 0x780000
SMMSTORE@0x480000 0x20000
RW_LEGACY@0x4a0000 0x760000
WP_RO@0xC00000 0x400000 {
RO_VPD@0x0 0x4000

View File

@ -25,5 +25,6 @@ FLASH@0x0 0x800000 {
RW_FWID_B@0x77f00 0x100
}
RW_VPD@0x2f8000 0x8000
RW_LEGACY(CBFS)@0x300000 0x100000
SMMSTORE@0x300000 0x20000
RW_LEGACY(CBFS)@0x320000 0xe0000
}

View File

@ -22,7 +22,8 @@ FLASH@0xff800000 0x800000 {
}
RW_VPD@0x1f8000 0x2000
RW_UNUSED@0x1fa000 0x6000
RW_LEGACY(CBFS)@0x200000 0x200000
SMMSTORE@0x200000 0x40000
RW_LEGACY(CBFS)@0x240000 0x1c0000
WP_RO@0x400000 0x200000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -36,7 +36,8 @@ FLASH 16M {
FW_MAIN_B(CBFS)@0x10000 0x46ffc0
RW_FWID_B@0x47ffc0 0x40
}
RW_LEGACY(CBFS)@0xd30000 0x200000
SMMSTORE@0xd30000 0x40000
RW_LEGACY(CBFS)@0xd70000 0x1c0000
BIOS_UNUSABLE@0xf30000 0x4f000
DEVICE_EXTENSION@0xf7f000 0x80000
# Currently, it is required that the BIOS region be a multiple of 8KiB.

View File

@ -23,7 +23,8 @@ FLASH@0xff800000 0x800000 {
RW_ENVIRONMENT@0x1f8000 0x4000
RW_VPD@0x1fc000 0x2000
RW_UNUSED@0x1fe000 0x2000
RW_LEGACY(CBFS)@0x200000 0x200000
SMMSTORE@0x200000 0x40000
RW_LEGACY(CBFS)@0x240000 0x1c0000
WP_RO@0x400000 0x200000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -27,7 +27,8 @@ FLASH@0xff000000 0x1000000 {
RW_VPD@0x28000 0x2000
RW_NVRAM@0x2a000 0x6000
}
RW_LEGACY(CBFS)@0x800000 0x200000
SMMSTORE@0x800000 0x40000
RW_LEGACY(CBFS)@0x840000 0x1c0000
WP_RO@0xa00000 0x400000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -22,7 +22,8 @@ FLASH@0xff800000 0x800000 {
}
RW_VPD@0x1f8000 0x2000
RW_UNUSED@0x1fa000 0x6000
RW_LEGACY(CBFS)@0x200000 0x200000
SMMSTORE@0x200000 0x40000
RW_LEGACY(CBFS)@0x240000 0x1c0000
WP_RO@0x400000 0x200000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -37,7 +37,8 @@ FLASH 16M {
FW_MAIN_B(CBFS)@0x10000 0x46ffc0
RW_FWID_B@0x47ffc0 0x40
}
RW_LEGACY(CBFS)@0xd30000 0x200000
SMMSTORE@0xd30000 0x40000
RW_LEGACY(CBFS)@0xd70000 0x1c0000
BIOS_UNUSABLE@0xf30000 0x4f000
DEVICE_EXTENSION@0xf7f000 0x80000
# Currently, it is required that the BIOS region be a multiple of 8KiB.

View File

@ -22,7 +22,8 @@ FLASH@0xff800000 0x800000 {
}
RW_VPD@0x1f8000 0x2000
RW_UNUSED@0x1fa000 0x6000
RW_LEGACY(CBFS)@0x200000 0x200000
SMMSTORE@0x200000 0x40000
RW_LEGACY(CBFS)@0x240000 0x1c0000
WP_RO@0x400000 0x200000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -23,7 +23,8 @@ FLASH@0xff800000 0x800000 {
RW_ENVIRONMENT@0x1f8000 0x4000
RW_VPD@0x1fc000 0x2000
RW_UNUSED@0x1fe000 0x2000
RW_LEGACY(CBFS)@0x200000 0x200000
SMMSTORE@0x200000 0x40000
RW_LEGACY(CBFS)@0x240000 0x1c0000
WP_RO@0x400000 0x200000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -27,7 +27,8 @@ FLASH@0xff000000 0x1000000 {
RW_VPD@0x28000 0x2000
RW_NVRAM@0x2a000 0x6000
}
RW_LEGACY(CBFS)@0x700000 0x200000
SMMSTORE@0x700000 0x40000
RW_LEGACY(CBFS)@0x740000 0x1c0000
WP_RO@0x900000 0x400000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -28,7 +28,8 @@ FLASH@0xff000000 0x1000000 {
RW_VPD@0x28000 0x2000
RW_NVRAM@0x2a000 0x6000
}
RW_LEGACY(CBFS)@0x700000 0x200000
SMMSTORE@0x700000 0x40000
RW_LEGACY(CBFS)@0x740000 0x1c0000
WP_RO@0x900000 0x380000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -28,7 +28,8 @@ FLASH@0xff000000 0x1000000 {
RW_VPD@0x28000 0x2000
RW_NVRAM@0x2a000 0x6000
}
RW_LEGACY(CBFS)@0x700000 0x200000
SMMSTORE@0x700000 0x40000
RW_LEGACY(CBFS)@0x740000 0x1c0000
WP_RO@0x900000 0x380000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -28,7 +28,8 @@ FLASH@0xfe000000 0x2000000 {
RW_VPD@0x28000 0x2000
RW_NVRAM@0x2a000 0x6000
}
RW_LEGACY(CBFS)@0x5d0000 0x200000
SMMSTORE@0x5d0000 0x40000
RW_LEGACY(CBFS)@0x610000 0x1c0000
WP_RO@0x7d0000 0x430000 {
RO_VPD@0x0 0x4000
RO_SECTION@0x4000 0x42c000 {

View File

@ -36,7 +36,8 @@ FLASH@0xff800000 0x800000 {
}
RW_VPD@0x1f8000 0x2000
RW_NVRAM@0x1fa000 0x6000
RW_LEGACY(CBFS)@0x200000 0x200000
SMMSTORE@0x200000 0x40000
RW_LEGACY(CBFS)@0x240000 0x1c0000
WP_RO@0x400000 0x200000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -38,7 +38,8 @@ FLASH 16M {
RW_FWID_B@0x4777c0 0x40
}
RW_NVRAM@0xd39000 0x6000
RW_LEGACY(CBFS)@0xd3f000 0x200000
SMMSTORE@0xd40000 0x40000
RW_LEGACY(CBFS)@0xd80000 0x1b0000
BIOS_UNUSABLE@0xf3f000 0x40000
DEVICE_EXTENSION@0xf7f000 0x80000
# Currently, it is required that the BIOS region be a multiple of 8KiB.

View File

@ -22,7 +22,8 @@ FLASH@0xff000000 0x1000000 {
}
RW_VPD@0x7f8000 0x2000
RW_NVRAM@0x7fa000 0x6000
RW_LEGACY(CBFS)@0x800000 0x200000
SMMSTORE@0x800000 0x40000
RW_LEGACY(CBFS)@0x840000 0x1c0000
WP_RO@0xa00000 0x400000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -22,7 +22,8 @@ FLASH@0xff000000 0x1000000 {
}
RW_VPD@0x7f8000 0x2000
RW_NVRAM@0x7fa000 0x6000
RW_LEGACY(CBFS)@0x800000 0x200000
SMMSTORE@0x800000 0x40000
RW_LEGACY(CBFS)@0x840000 0x1c0000
WP_RO@0xa00000 0x400000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000

View File

@ -22,7 +22,8 @@ FLASH@0xff800000 0x800000 {
}
RW_VPD@0x1f8000 0x2000
RW_UNUSED@0x1fa000 0x6000
RW_LEGACY(CBFS)@0x200000 0x200000
SMMSTORE@0x200000 0x40000
RW_LEGACY(CBFS)@0x240000 0x1c0000
WP_RO@0x400000 0x200000 {
RO_VPD@0x0 0x4000
RO_UNUSED@0x4000 0xc000