From 4c4e9fc62ef866dca880ed2e8b45e2f8dcc1e15f Mon Sep 17 00:00:00 2001 From: Jon Murphy Date: Wed, 29 Mar 2023 15:28:25 -0600 Subject: mb/google/myst: Build for chromeOS Adjust build configs to build Myst for chromeOS. BUG=b:270618097 TEST=builds Signed-off-by: Jon Murphy Change-Id: If4b6917fe024067409bfbb3d2691c37759b5cace Reviewed-on: https://review.coreboot.org/c/coreboot/+/74097 Tested-by: build bot (Jenkins) Reviewed-by: Karthik Ramasubramanian --- src/mainboard/google/myst/Kconfig | 6 ++++++ src/mainboard/google/myst/Makefile.inc | 1 + 2 files changed, 7 insertions(+) (limited to 'src/mainboard/google/myst') diff --git a/src/mainboard/google/myst/Kconfig b/src/mainboard/google/myst/Kconfig index d8be3b8c71..b9e87fb678 100644 --- a/src/mainboard/google/myst/Kconfig +++ b/src/mainboard/google/myst/Kconfig @@ -8,6 +8,7 @@ if BOARD_GOOGLE_BASEBOARD_MYST config BOARD_SPECIFIC_OPTIONS def_bool y select BOARD_ROMSIZE_KB_16384 + select MAINBOARD_HAS_CHROMEOS select SOC_AMD_PHOENIX config DEVICETREE @@ -26,4 +27,9 @@ config MAINBOARD_FAMILY config MAINBOARD_PART_NUMBER default "Myst" if BOARD_GOOGLE_MYST +config VBOOT + select VBOOT_NO_BOARD_SUPPORT + select VBOOT_SEPARATE_VERSTAGE + select VBOOT_STARTS_IN_BOOTBLOCK + endif # BOARD_GOOGLE_BASEBOARD_MYST diff --git a/src/mainboard/google/myst/Makefile.inc b/src/mainboard/google/myst/Makefile.inc index 0315ba9a18..5bd6acab7e 100644 --- a/src/mainboard/google/myst/Makefile.inc +++ b/src/mainboard/google/myst/Makefile.inc @@ -6,6 +6,7 @@ romstage-y += port_descriptors.c ramstage-y += mainboard.c ramstage-y += port_descriptors.c +ramstage-$(CONFIG_CHROMEOS) += chromeos.c subdirs-y += variants/baseboard -- cgit v1.2.3