summaryrefslogtreecommitdiff
path: root/util/scripts
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2016-03-31 15:59:41 +0200
committerPatrick Georgi <pgeorgi@google.com>2016-04-05 13:37:31 +0200
commit1000a5561d0c122e3800896b36767f09f3d96901 (patch)
tree8bcf88b016bb8f15cd815e3b774a2d7ed16d235b /util/scripts
parentfcc434764deff0eeb17e86a775f4d3da71d28a86 (diff)
downloadcoreboot-1000a5561d0c122e3800896b36767f09f3d96901.tar.xz
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>
Diffstat (limited to 'util/scripts')
-rwxr-xr-xutil/scripts/dts-to-fmd.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/scripts/dts-to-fmd.sh b/util/scripts/dts-to-fmd.sh
index 3b87eee737..f1262fc317 100755
--- a/util/scripts/dts-to-fmd.sh
+++ b/util/scripts/dts-to-fmd.sh
@@ -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.