summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorV Sowmya <v.sowmya@intel.com>2020-05-20 16:44:21 +0530
committerFurquan Shaikh <furquan@google.com>2020-05-29 15:58:38 +0000
commit36a67e1f3c4e06f24bf340025e39f938bac33f19 (patch)
tree04ee844592499efe2dc89a7bc90c5c12856c637e /src/mainboard
parent1a438f33ffe5482c7a995cb1b25cc70db9b1e7fa (diff)
mb/google/hatch: Select the fmd files for hatch baseboard
This patch selects the fmd files based on config BOARD_GOOGLE_BASEBOARD_HATCH and also renames them to add the baseboard name and layout size tags. BUG=b:154561163 TEST=Built hatch variants and verified that they select the right fmd files. Signed-off-by: V Sowmya <v.sowmya@intel.com> Change-Id: I5d99ae28cc972ffa635adf100b756c36e168a8f8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41567 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/hatch/Kconfig6
-rw-r--r--src/mainboard/google/hatch/chromeos-hatch-16MiB.fmd (renamed from src/mainboard/google/hatch/chromeos-16MiB.fmd)0
-rw-r--r--src/mainboard/google/hatch/chromeos-hatch-32MiB.fmd (renamed from src/mainboard/google/hatch/chromeos.fmd)0
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/hatch/Kconfig b/src/mainboard/google/hatch/Kconfig
index 7e3b9e3948..5f6ca70ec9 100644
--- a/src/mainboard/google/hatch/Kconfig
+++ b/src/mainboard/google/hatch/Kconfig
@@ -87,11 +87,11 @@ config DRIVER_TPM_SPI_BUS
config UART_FOR_CONSOLE
default 0
-if ROMSTAGE_SPD_CBFS
+if BOARD_GOOGLE_BASEBOARD_HATCH
config FMDFILE
string
- default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/chromeos-16MiB.fmd" if BOARD_ROMSIZE_KB_16384
- default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if BOARD_ROMSIZE_KB_32768
+ default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/chromeos-hatch-16MiB.fmd" if BOARD_ROMSIZE_KB_16384
+ default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/chromeos-hatch-32MiB.fmd" if BOARD_ROMSIZE_KB_32768
endif
if ROMSTAGE_SPD_SMBUS
diff --git a/src/mainboard/google/hatch/chromeos-16MiB.fmd b/src/mainboard/google/hatch/chromeos-hatch-16MiB.fmd
index 8880a4f9fe..8880a4f9fe 100644
--- a/src/mainboard/google/hatch/chromeos-16MiB.fmd
+++ b/src/mainboard/google/hatch/chromeos-hatch-16MiB.fmd
diff --git a/src/mainboard/google/hatch/chromeos.fmd b/src/mainboard/google/hatch/chromeos-hatch-32MiB.fmd
index 8368b0a44b..8368b0a44b 100644
--- a/src/mainboard/google/hatch/chromeos.fmd
+++ b/src/mainboard/google/hatch/chromeos-hatch-32MiB.fmd