summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV Sowmya <v.sowmya@intel.com>2020-05-20 23:07:01 +0530
committerFurquan Shaikh <furquan@google.com>2020-05-29 15:59:09 +0000
commit44e683d6dd4a80426eb12e5e09579d9a05ee7077 (patch)
treee3ed2a1ee4bcfcc88d3ffd71b396356fbbb182c3
parent36a67e1f3c4e06f24bf340025e39f938bac33f19 (diff)
downloadcoreboot-44e683d6dd4a80426eb12e5e09579d9a05ee7077.tar.xz
mb/google/hatch: Select the fmd files for puff baseboard
This patch selects the fmd files based on config BOARD_GOOGLE_BASEBOARD_PUFF and also renames the files to align with basebaord name and layout size. BUG=b:154561163 TEST=Built puff and verified that it selects the right fmd file. Change-Id: Ice6196ca778c6c118ce89e1510a445339a5c3455 Signed-off-by: V Sowmya <v.sowmya@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41568 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sridhar Siricilla <sridhar.siricilla@intel.com> Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com> Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r--src/mainboard/google/hatch/Kconfig6
-rw-r--r--src/mainboard/google/hatch/chromeos-puff-16MiB.fmd (renamed from src/mainboard/google/hatch/chromeos-16MiB-spd.fmd)0
-rw-r--r--src/mainboard/google/hatch/chromeos-puff-32MiB.fmd (renamed from src/mainboard/google/hatch/chromeos-spd.fmd)0
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/hatch/Kconfig b/src/mainboard/google/hatch/Kconfig
index 5f6ca70ec9..b2bcabb306 100644
--- a/src/mainboard/google/hatch/Kconfig
+++ b/src/mainboard/google/hatch/Kconfig
@@ -94,11 +94,11 @@ config FMDFILE
default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/chromeos-hatch-32MiB.fmd" if BOARD_ROMSIZE_KB_32768
endif
-if ROMSTAGE_SPD_SMBUS
+if BOARD_GOOGLE_BASEBOARD_PUFF
config FMDFILE
string
- default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/chromeos-16MiB-spd.fmd" if BOARD_ROMSIZE_KB_16384
- default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/chromeos-spd.fmd" if BOARD_ROMSIZE_KB_32768
+ default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/chromeos-puff-16MiB.fmd" if BOARD_ROMSIZE_KB_16384
+ default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/chromeos-puff-32MiB.fmd" if BOARD_ROMSIZE_KB_32768
endif
config MAINBOARD_DIR
diff --git a/src/mainboard/google/hatch/chromeos-16MiB-spd.fmd b/src/mainboard/google/hatch/chromeos-puff-16MiB.fmd
index 9f0981940d..9f0981940d 100644
--- a/src/mainboard/google/hatch/chromeos-16MiB-spd.fmd
+++ b/src/mainboard/google/hatch/chromeos-puff-16MiB.fmd
diff --git a/src/mainboard/google/hatch/chromeos-spd.fmd b/src/mainboard/google/hatch/chromeos-puff-32MiB.fmd
index 37bc1bd832..37bc1bd832 100644
--- a/src/mainboard/google/hatch/chromeos-spd.fmd
+++ b/src/mainboard/google/hatch/chromeos-puff-32MiB.fmd