mb/intel/jslrvp: Modify the flash layout for fsp debug build
Current flash layout doesn't support the fsp debug builds since the FW_MAIN_A/B doesn't have enough space to hold the fsp debug binaries along with ME RW binaries. This patch reduces the SI_ALL size to 3.5MiB and increase the SI_BIOS to 12.5MiB to include both ME RW and FSP debug binaries. BRANCH=dedede TEST=Build and Boot jslrvp with fsp debug enabled coreboot. Cq-Depend: chrome-internal:3425366 Change-Id: I6f6354b0c80791f626c09dabafe33eefccedb9c2 Signed-off-by: V Sowmya <v.sowmya@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48154 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com> Reviewed-by: Ronak Kanabar <ronak.kanabar@intel.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
parent
e2ce56928c
commit
a99f61fec4
|
@ -1,37 +1,38 @@
|
||||||
FLASH@0xff000000 0x1000000 {
|
FLASH@0xff000000 0x1000000 {
|
||||||
SI_ALL@0x0 0x600000 {
|
SI_ALL@0x0 0x381000 {
|
||||||
SI_DESC@0x0 0x1000
|
SI_DESC@0x0 0x1000
|
||||||
SI_EC@0x1000 0x80000
|
SI_EC@0x1000 0x80000
|
||||||
SI_ME@0x81000 0x57F000
|
SI_ME@0x81000 0x300000
|
||||||
}
|
}
|
||||||
SI_BIOS@0x600000 0xA00000 {
|
SI_BIOS@0x381000 0xc7f000 {
|
||||||
RW_SECTION_A@0x0 0x2d0000 {
|
RW_LEGACY(CBFS)@0x0 0x100000
|
||||||
VBLOCK_A@0x0 0x10000
|
RW_SECTION_A@0x100000 0x3a4800 {
|
||||||
FW_MAIN_A(CBFS)@0x10000 0x12ffc0
|
VBLOCK_A@0x0 0x2000
|
||||||
RW_FWID_A@0x13ffc0 0x40
|
FW_MAIN_A(CBFS)@0x2000 0x2127c0
|
||||||
ME_RW_A(CBFS)@0x140000 0x190000
|
RW_FWID_A@0x2147c0 0x40
|
||||||
|
ME_RW_A(CBFS)@0x214800 0x190000
|
||||||
}
|
}
|
||||||
RW_SECTION_B@0x2d0000 0x2d0000 {
|
RW_SECTION_B@0x4a4800 0x3a4800 {
|
||||||
VBLOCK_B@0x0 0x10000
|
VBLOCK_B@0x0 0x2000
|
||||||
FW_MAIN_B(CBFS)@0x10000 0x12ffc0
|
FW_MAIN_B(CBFS)@0x2000 0x2127c0
|
||||||
RW_FWID_B@0x13ffc0 0x40
|
RW_FWID_B@0x2147c0 0x40
|
||||||
ME_RW_B(CBFS)@0x140000 0x190000
|
ME_RW_B(CBFS)@0x214800 0x190000
|
||||||
}
|
}
|
||||||
RW_MISC@0x5a0000 0x30000 {
|
RW_MISC@0x849000 0x36000 {
|
||||||
UNIFIED_MRC_CACHE@0x0 0x20000 {
|
UNIFIED_MRC_CACHE(PRESERVE)@0x0 0x30000 {
|
||||||
RECOVERY_MRC_CACHE@0x0 0x10000
|
RECOVERY_MRC_CACHE@0x0 0x10000
|
||||||
RW_MRC_CACHE@0x10000 0x10000
|
RW_MRC_CACHE@0x10000 0x20000
|
||||||
}
|
}
|
||||||
RW_ELOG(PRESERVE)@0x20000 0x4000
|
RW_ELOG(PRESERVE)@0x30000 0x1000
|
||||||
RW_SHARED@0x24000 0x4000 {
|
RW_SHARED@0x31000 0x1000 {
|
||||||
SHARED_DATA@0x0 0x2000
|
SHARED_DATA@0x0 0x1000
|
||||||
VBLOCK_DEV@0x2000 0x2000
|
|
||||||
}
|
}
|
||||||
RW_VPD(PRESERVE)@0x28000 0x2000
|
RW_VPD(PRESERVE)@0x32000 0x2000
|
||||||
RW_NVRAM(PRESERVE)@0x2a000 0x6000
|
RW_NVRAM(PRESERVE)@0x34000 0x2000
|
||||||
}
|
}
|
||||||
RW_LEGACY(CBFS)@0x5d0000 0x30000
|
# Make WP_RO region align with SPI vendor
|
||||||
WP_RO@0x600000 0x400000 {
|
# memory protected range specification.
|
||||||
|
WP_RO@0x87f000 0x400000 {
|
||||||
RO_VPD(PRESERVE)@0x0 0x4000
|
RO_VPD(PRESERVE)@0x0 0x4000
|
||||||
RO_SECTION@0x4000 0x3fc000 {
|
RO_SECTION@0x4000 0x3fc000 {
|
||||||
FMAP@0x0 0x800
|
FMAP@0x0 0x800
|
||||||
|
|
Loading…
Reference in New Issue