summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2020-04-29 16:02:40 -0700
committerDuncan Laurie <dlaurie@chromium.org>2020-05-22 01:49:38 +0000
commit60894a071169c3df3f1f62f0224f117861e47a86 (patch)
tree3839756956009d0bfad517f121e1d4719292c85f /src/mainboard
parentba56da85e8cb7f4918ec10d1e5aaab9f553e4e3e (diff)
mb/google/volteer: Add overridetree.cb for volteer variant
Instead of only using the baseboard devicetree add a placeholder overridetree for volteer and refer to it in Kconfig. This will allow us to add the volteer specific devices here instead of at the baseboard level. BUG=b:146482091 Signed-off-by: Duncan Laurie <dlaurie@google.com> Change-Id: I7788a5473fc2275a9791fb27e0e4018a0efcd0f5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40893 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/volteer/Kconfig2
-rw-r--r--src/mainboard/google/volteer/variants/volteer/overridetree.cb4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/google/volteer/Kconfig b/src/mainboard/google/volteer/Kconfig
index f6ff42c652..b02ff89ddd 100644
--- a/src/mainboard/google/volteer/Kconfig
+++ b/src/mainboard/google/volteer/Kconfig
@@ -42,7 +42,7 @@ config DEVICETREE
config OVERRIDE_DEVICETREE
string
- default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb" if !BOARD_GOOGLE_VOLTEER
+ default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb"
config DRIVER_TPM_SPI_BUS
default 0x1
diff --git a/src/mainboard/google/volteer/variants/volteer/overridetree.cb b/src/mainboard/google/volteer/variants/volteer/overridetree.cb
new file mode 100644
index 0000000000..75422d80bb
--- /dev/null
+++ b/src/mainboard/google/volteer/variants/volteer/overridetree.cb
@@ -0,0 +1,4 @@
+chip soc/intel/tigerlake
+ device domain 0 on
+ end
+end