chromeos.fmd: Mark RW_LEGACY as CBFS
Change the existing chromeos.fmd files and the dts-to-fmd script to mark RW_LEGACY as CBFS, so it's properly "formatted". BUG=chromium:595715 BRANCH=none TEST=none Change-Id: I76de26032ea8da0c7755a76a01e7bea9cfaebe23 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 717a00c459906fa87f61314ea4541c31b50539f4 Original-Change-Id: I4b037b60d10be3da824c6baecabfd244eec2cdac Original-Signed-off-by: Patrick Georgi <pgeorgi@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/336403 Original-Commit-Ready: Patrick Georgi <pgeorgi@chromium.org> Original-Tested-by: Patrick Georgi <pgeorgi@chromium.org> Original-Reviewed-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/14240 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
fcc434764d
commit
1000a5561d
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -23,7 +23,7 @@ FLASH@0xff800000 0x800000 {
|
|||
RW_ENVIRONMENT@0x1f8000 0x4000
|
||||
RW_VPD@0x1fc000 0x2000
|
||||
RW_UNUSED@0x1fe000 0x2000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff000000 0x1000000 {
|
|||
}
|
||||
RW_VPD@0x7f8000 0x2000
|
||||
RW_NVRAM@0x7fa000 0x6000
|
||||
RW_LEGACY@0x800000 0x200000
|
||||
RW_LEGACY(CBFS)@0x800000 0x200000
|
||||
WP_RO@0xa00000 0x400000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff000000 0x1000000 {
|
|||
}
|
||||
RW_VPD@0x7f8000 0x2000
|
||||
RW_NVRAM@0x7fa000 0x6000
|
||||
RW_LEGACY@0x800000 0x200000
|
||||
RW_LEGACY(CBFS)@0x800000 0x200000
|
||||
WP_RO@0xa00000 0x400000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff000000 0x1000000 {
|
|||
}
|
||||
RW_VPD@0x7f8000 0x2000
|
||||
RW_NVRAM@0x7fa000 0x6000
|
||||
RW_LEGACY@0x800000 0x200000
|
||||
RW_LEGACY(CBFS)@0x800000 0x200000
|
||||
WP_RO@0xa00000 0x400000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -24,5 +24,5 @@ FLASH@0x0 0x400000 {
|
|||
RW_FWID_B@0x77f00 0x100
|
||||
}
|
||||
RW_VPD@0x2f8000 0x8000
|
||||
RW_LEGACY@0x300000 0x100000
|
||||
RW_LEGACY(CBFS)@0x300000 0x100000
|
||||
}
|
||||
|
|
|
@ -24,5 +24,5 @@ FLASH@0x0 0x400000 {
|
|||
RW_FWID_B@0x77f00 0x100
|
||||
}
|
||||
RW_VPD@0x2f8000 0x8000
|
||||
RW_LEGACY@0x300000 0x100000
|
||||
RW_LEGACY(CBFS)@0x300000 0x100000
|
||||
}
|
||||
|
|
|
@ -24,5 +24,5 @@ FLASH@0x0 0x400000 {
|
|||
RW_FWID_B@0x77f00 0x100
|
||||
}
|
||||
RW_VPD@0x2f8000 0x8000
|
||||
RW_LEGACY@0x300000 0x100000
|
||||
RW_LEGACY(CBFS)@0x300000 0x100000
|
||||
}
|
||||
|
|
|
@ -25,5 +25,5 @@ FLASH@0x0 0x400000 {
|
|||
RW_FWID_B@0x77f00 0x100
|
||||
}
|
||||
RW_VPD@0x2f8000 0x8000
|
||||
RW_LEGACY@0x300000 0x100000
|
||||
RW_LEGACY(CBFS)@0x300000 0x100000
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -23,7 +23,7 @@ FLASH@0xff800000 0x800000 {
|
|||
RW_ENVIRONMENT@0x1f8000 0x4000
|
||||
RW_VPD@0x1fc000 0x2000
|
||||
RW_UNUSED@0x1fe000 0x2000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -29,5 +29,5 @@ FLASH@0x0 0x800000 {
|
|||
RW_VPD@0x6e0000 0x8000
|
||||
RW_ELOG@0x6e8000 0x8000
|
||||
RW_NVRAM@0x6f0000 0x10000
|
||||
RW_LEGACY@0x700000 0x100000
|
||||
RW_LEGACY(CBFS)@0x700000 0x100000
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ FLASH@0xff800000 0x800000 {
|
|||
RW_ENVIRONMENT@0x1f8000 0x4000
|
||||
RW_VPD@0x1fc000 0x2000
|
||||
RW_UNUSED@0x1fe000 0x2000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -24,5 +24,5 @@ FLASH@0x0 0x400000 {
|
|||
RW_FWID_B@0x77f00 0x100
|
||||
}
|
||||
RW_VPD@0x2f8000 0x8000
|
||||
RW_LEGACY@0x300000 0x100000
|
||||
RW_LEGACY(CBFS)@0x300000 0x100000
|
||||
}
|
||||
|
|
|
@ -25,5 +25,5 @@ FLASH@0x0 0x400000 {
|
|||
RW_FWID_B@0x77f00 0x100
|
||||
}
|
||||
RW_VPD@0x2f8000 0x8000
|
||||
RW_LEGACY@0x300000 0x100000
|
||||
RW_LEGACY(CBFS)@0x300000 0x100000
|
||||
}
|
||||
|
|
|
@ -25,5 +25,5 @@ FLASH@0x0 0x400000 {
|
|||
RW_FWID_B@0x77f00 0x100
|
||||
}
|
||||
RW_VPD@0x2f8000 0x8000
|
||||
RW_LEGACY@0x300000 0x100000
|
||||
RW_LEGACY(CBFS)@0x300000 0x100000
|
||||
}
|
||||
|
|
|
@ -25,5 +25,5 @@ FLASH@0x0 0x400000 {
|
|||
RW_FWID_B@0x77f00 0x100
|
||||
}
|
||||
RW_VPD@0x2f8000 0x8000
|
||||
RW_LEGACY@0x300000 0x100000
|
||||
RW_LEGACY(CBFS)@0x300000 0x100000
|
||||
}
|
||||
|
|
|
@ -25,5 +25,5 @@ FLASH@0x0 0x400000 {
|
|||
RW_FWID_B@0x77f00 0x100
|
||||
}
|
||||
RW_VPD@0x2f8000 0x8000
|
||||
RW_LEGACY@0x300000 0x100000
|
||||
RW_LEGACY(CBFS)@0x300000 0x100000
|
||||
}
|
||||
|
|
|
@ -25,5 +25,5 @@ FLASH@0x0 0x400000 {
|
|||
RW_FWID_B@0x77f00 0x100
|
||||
}
|
||||
RW_VPD@0x2f8000 0x8000
|
||||
RW_LEGACY@0x300000 0x100000
|
||||
RW_LEGACY(CBFS)@0x300000 0x100000
|
||||
}
|
||||
|
|
|
@ -25,5 +25,5 @@ FLASH@0x0 0x400000 {
|
|||
RW_FWID_B@0x77f00 0x100
|
||||
}
|
||||
RW_VPD@0x2f8000 0x8000
|
||||
RW_LEGACY@0x300000 0x100000
|
||||
RW_LEGACY(CBFS)@0x300000 0x100000
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff000000 0x1000000 {
|
|||
}
|
||||
RW_VPD@0x7f8000 0x2000
|
||||
RW_NVRAM@0x7fa000 0x6000
|
||||
RW_LEGACY@0x800000 0x200000
|
||||
RW_LEGACY(CBFS)@0x800000 0x200000
|
||||
WP_RO@0xa00000 0x400000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -22,7 +22,7 @@ FLASH@0xff800000 0x800000 {
|
|||
}
|
||||
RW_VPD@0x1f8000 0x2000
|
||||
RW_UNUSED@0x1fa000 0x6000
|
||||
RW_LEGACY@0x200000 0x200000
|
||||
RW_LEGACY(CBFS)@0x200000 0x200000
|
||||
WP_RO@0x400000 0x200000 {
|
||||
RO_VPD@0x0 0x4000
|
||||
RO_UNUSED@0x4000 0xc000
|
||||
|
|
|
@ -86,6 +86,11 @@ for region in $FMAP_REGIONS; do
|
|||
IS_CBFS="(CBFS)"
|
||||
fi
|
||||
|
||||
# also mark RW_LEGACY (seabios et al) as CBFS
|
||||
if [ "${REGION_NAME}" = "RW_LEGACY" ]; then
|
||||
IS_CBFS="(CBFS)"
|
||||
fi
|
||||
|
||||
# special handling: COREBOOT region at 0, inject a 128K bootblock
|
||||
# The size may need changes to accomodate the chipsets,
|
||||
# but should work for now.
|
||||
|
|
Loading…
Reference in New Issue