diff options
author | Martin Roth <martin.roth@amd.com> | 2022-11-22 14:39:12 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-02 14:29:11 +0000 |
commit | 1ef3779516bc72abcb3ca722a0cddeb7bbec2105 (patch) | |
tree | 974a41472e35579ab1abeacf62a83b45093333f3 /src | |
parent | 3d4b1710ebc03ce6c32b26a2501be908d6b2a19b (diff) |
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 <martin.roth@amd.corp-partner.google.com>
Change-Id: Ia75725b0c4d61e832c94160fa4cd455e89c60274
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69939
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Shelley Chen <shchen@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/herobrine/chromeos.fmd | 5 |
1 files changed, 5 insertions, 0 deletions
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 |