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>
This commit is contained in:
V Sowmya 2020-05-20 16:44:21 +05:30 committed by Furquan Shaikh
parent 1a438f33ff
commit 36a67e1f3c
3 changed files with 3 additions and 3 deletions

View File

@ -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