summaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy/Kconfig
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2017-04-13 14:15:56 -0700
committerFurquan Shaikh <furquan@google.com>2017-04-19 19:16:34 +0200
commit76c392d29481129ed425df62739666b94a3438d0 (patch)
tree1df0aa27e493b28d6b67428c20166489780f0bf8 /src/mainboard/google/poppy/Kconfig
parent3189ea6dd19c9a9df25af687cfaa014f37b68dd9 (diff)
mainboard/google/poppy: Provide baseboard and variant concepts
In order to be able to share code across different poppy variants, provide the concept of baseboard and variants. New directory layout: variants/baseboard - code variants/baseboard/include/baseboard - headers variants/poppy - code variants/poppy/include/variant - headers New boards would then add themselves under their board name within "variants" directory. This is purely an organizational change. BUG=b:37375693 Change-Id: If6c1c5f479cfffe768abf27495d379744104e2dc Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/19322 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/poppy/Kconfig')
-rw-r--r--src/mainboard/google/poppy/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig
index e97df9b5ac..1bdda14907 100644
--- a/src/mainboard/google/poppy/Kconfig
+++ b/src/mainboard/google/poppy/Kconfig
@@ -18,6 +18,10 @@ config BOARD_GOOGLE_BASEBOARD_POPPY
if BOARD_GOOGLE_BASEBOARD_POPPY
+config DEVICETREE
+ string
+ default "variants/baseboard/devicetree.cb"
+
config DRIVER_TPM_SPI_BUS
default 0x1
@@ -59,6 +63,10 @@ config POPPY_USE_SPI_TPM
select SPI_TPM
select TPM2
+config VARIANT_DIR
+ string
+ default "poppy" if BOARD_GOOGLE_POPPY
+
config VBOOT
select EC_GOOGLE_CHROMEEC_SWITCHES
select VBOOT_LID_SWITCH