summaryrefslogtreecommitdiff
path: root/src/mainboard/google/octopus/Kconfig
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2018-06-24 23:00:13 -0700
committerFurquan Shaikh <furquan@google.com>2018-06-25 17:41:00 +0000
commit0be087deee20dee48284e867c378d0ebd1b57940 (patch)
tree69ba84051f1e8e0f3c19b049f39a3bc5f07c96fb /src/mainboard/google/octopus/Kconfig
parent50ddc0bb2881822f0cf9d01fe80ee1e8e2c763db (diff)
mb/google/octopus: Use the newly added override devicetree feature
Now that sconfig is able to support variant-specific override trees, this change updates octopus boards to use this feature. Following devices are moved from baseboard devicetree to variant specific devicetree: 1. Touchscreen 2. Trackpad 3. Digitizer 4. Audio codec BUG=b:80081934 TEST=Verified that the right devices show up in static.c for each variant. Change-Id: I8df0cdf4dbcd7613aa4ef4042c272eca2915da9e Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/27219 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/octopus/Kconfig')
-rw-r--r--src/mainboard/google/octopus/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainboard/google/octopus/Kconfig b/src/mainboard/google/octopus/Kconfig
index 226e44f7fa..45900c8d79 100644
--- a/src/mainboard/google/octopus/Kconfig
+++ b/src/mainboard/google/octopus/Kconfig
@@ -47,9 +47,12 @@ config VARIANT_DIR
config DEVICETREE
string
- default "variants/bip/devicetree.cb" if BOARD_GOOGLE_BIP
default "variants/baseboard/devicetree.cb"
+config OVERRIDE_DEVICETREE
+ string
+ default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb" if !BOARD_GOOGLE_OCTOPUS
+
config MAINBOARD_PART_NUMBER
string
default "Yorp" if BOARD_GOOGLE_YORP