summaryrefslogtreecommitdiff
path: root/src/mainboard/google/myst
diff options
context:
space:
mode:
authorJon Murphy <jpmurphy@google.com>2023-03-29 15:28:25 -0600
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2023-04-10 01:51:49 +0000
commit4c4e9fc62ef866dca880ed2e8b45e2f8dcc1e15f (patch)
treea672c99463377a6a13e56c66be7565c75db38582 /src/mainboard/google/myst
parent3834275eb8761f5bfc8448e55199511dc0930b3a (diff)
mb/google/myst: Build for chromeOS
Adjust build configs to build Myst for chromeOS. BUG=b:270618097 TEST=builds Signed-off-by: Jon Murphy <jpmurphy@google.com> Change-Id: If4b6917fe024067409bfbb3d2691c37759b5cace Reviewed-on: https://review.coreboot.org/c/coreboot/+/74097 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/google/myst')
-rw-r--r--src/mainboard/google/myst/Kconfig6
-rw-r--r--src/mainboard/google/myst/Makefile.inc1
2 files changed, 7 insertions, 0 deletions
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