diff options
author | Eric Lai <ericr_lai@compal.corp-partner.google.com> | 2021-03-09 13:34:43 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2021-03-11 15:09:29 +0000 |
commit | e6b3168ff1698bbfc82b6159b9aa86200cbb82da (patch) | |
tree | 90e60423f72a0f6c4e51b7e027a9e32e3dd1b8c0 /src/mainboard | |
parent | b9204fc012e69192774de19f1912905a5fe57980 (diff) |
mb/google/mancomb: Enable mancomb variant
BUG=b:182211161
TEST=builds
Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
Change-Id: I554e7193494a4bbf005aaf2fb4efd6ded383fe07
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51369
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Mathew King <mathewk@chromium.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/mancomb/Kconfig | 8 | ||||
-rw-r--r-- | src/mainboard/google/mancomb/Makefile.inc | 3 | ||||
-rw-r--r-- | src/mainboard/google/mancomb/variants/mancomb/overridetree.cb | 4 |
3 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/google/mancomb/Kconfig b/src/mainboard/google/mancomb/Kconfig index 3fbe75287d..0e4a49fc37 100644 --- a/src/mainboard/google/mancomb/Kconfig +++ b/src/mainboard/google/mancomb/Kconfig @@ -39,10 +39,18 @@ config AMD_FWM_POSITION_INDEX help TODO: might need to be adapted for better placement of files in cbfs +config VARIANT_DIR + string + default "mancomb" if BOARD_GOOGLE_MANCOMB + config DEVICETREE string default "variants/baseboard/devicetree.cb" +config OVERRIDE_DEVICETREE + string + default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" + config MAINBOARD_FAMILY string default "Google_Mancomb" diff --git a/src/mainboard/google/mancomb/Makefile.inc b/src/mainboard/google/mancomb/Makefile.inc index d16a87420d..7d2b1355ad 100644 --- a/src/mainboard/google/mancomb/Makefile.inc +++ b/src/mainboard/google/mancomb/Makefile.inc @@ -6,4 +6,7 @@ ramstage-y += mainboard.c ramstage-$(CONFIG_CHROMEOS) += chromeos.c subdirs-y += variants/baseboard +subdirs-y += variants/$(VARIANT_DIR) + CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include +CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include diff --git a/src/mainboard/google/mancomb/variants/mancomb/overridetree.cb b/src/mainboard/google/mancomb/variants/mancomb/overridetree.cb new file mode 100644 index 0000000000..eae9425bf7 --- /dev/null +++ b/src/mainboard/google/mancomb/variants/mancomb/overridetree.cb @@ -0,0 +1,4 @@ +chip soc/amd/cezanne + device domain 0 on + end # domain +end # chip soc/amd/cezanne |