From 1000a5561d0c122e3800896b36767f09f3d96901 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 31 Mar 2016 15:59:41 +0200 Subject: 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 Original-Commit-Id: 717a00c459906fa87f61314ea4541c31b50539f4 Original-Change-Id: I4b037b60d10be3da824c6baecabfd244eec2cdac Original-Signed-off-by: Patrick Georgi Original-Reviewed-on: https://chromium-review.googlesource.com/336403 Original-Commit-Ready: Patrick Georgi Original-Tested-by: Patrick Georgi Original-Reviewed-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/14240 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- util/scripts/dts-to-fmd.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'util') 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. -- cgit v1.2.3