From 1ef3779516bc72abcb3ca722a0cddeb7bbec2105 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 22 Nov 2022 14:39:12 -0700 Subject: [PATCH] mb/google/herobrine: Update FMD file for multiple ROM sizes The Piglin & Hoglin boards were built with a couple of different sizes of ROM chips. Despite this, the desire was to use just a single FMD file. The different sizes are already accounted for in Kconfig, so add the Kconfig size here to be used. Signed-off-by: Martin Roth Change-Id: Ia75725b0c4d61e832c94160fa4cd455e89c60274 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69939 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner Reviewed-by: Shelley Chen Reviewed-by: Eric Lai --- src/mainboard/google/herobrine/chromeos.fmd | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mainboard/google/herobrine/chromeos.fmd b/src/mainboard/google/herobrine/chromeos.fmd index cb56d73d8c..b7633a497e 100644 --- a/src/mainboard/google/herobrine/chromeos.fmd +++ b/src/mainboard/google/herobrine/chromeos.fmd @@ -1,7 +1,12 @@ ## SPDX-License-Identifier: GPL-2.0-only # TODO: update for Herobrine + +#if CONFIG_BOARD_GOOGLE_PIGLIN || CONFIG_BOARD_GOOGLE_HOGLIN +FLASH@0x0 CONFIG_ROM_SIZE { +#else FLASH@0x0 8M { +#endif WP_RO 4M { RO_SECTION 0x3c4000 { BOOTBLOCK 96K