summaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy/Kconfig
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2018-03-27 13:34:40 -0700
committerDuncan Laurie <dlaurie@chromium.org>2018-03-30 02:57:06 +0000
commitba49c09b2f69f3daccc8a04edfd025f93a4f217c (patch)
tree9546db0990a3ec212909816787b4b7cd5f4c9a48 /src/mainboard/google/poppy/Kconfig
parentade3bc5c402d6311a5a4a8c4640b78134b857451 (diff)
mb/google/poppy: Add variant for Atlas
Add a new variant of Poppy for the Atlas board. BUG=b:75454415 TEST=tested on a P0 board. System boots and is mostly functional, though some peripherals are not ready so there are no touchpad/touchscreen devices configured yet. Change-Id: I5a0bccd1bda0134aa51885ac2c6e7bb5b45de924 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/25389 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/poppy/Kconfig')
-rw-r--r--src/mainboard/google/poppy/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig
index 7d98d0e9b7..64230d648e 100644
--- a/src/mainboard/google/poppy/Kconfig
+++ b/src/mainboard/google/poppy/Kconfig
@@ -25,6 +25,7 @@ config CHROMEOS_WIFI_SAR
config DEVICETREE
string
+ default "variants/atlas/devicetree.cb" if BOARD_GOOGLE_ATLAS
default "variants/nami/devicetree.cb" if BOARD_GOOGLE_NAMI
default "variants/nautilus/devicetree.cb" if BOARD_GOOGLE_NAUTILUS
default "variants/soraka/devicetree.cb" if BOARD_GOOGLE_SORAKA
@@ -45,6 +46,7 @@ config DRIVER_TPM_SPI_BUS
config GBB_HWID
string
depends on CHROMEOS
+ default "ATLAS TEST 1412" if BOARD_GOOGLE_ATLAS
default "POPPY TEST 8294" if BOARD_GOOGLE_POPPY
default "NAMI TEST 1669" if BOARD_GOOGLE_NAMI
default "NAUTILUS TEST 3013" if BOARD_GOOGLE_NAUTILUS
@@ -57,6 +59,12 @@ config INCLUDE_NHLT_BLOBS
select NHLT_MAX98927
select NHLT_RT5663
+config INCLUDE_NHLT_BLOBS_ATLAS
+ bool "Include blobs for atlas audio."
+ select NHLT_DA7219
+ select NHLT_DMIC_2CH
+ select NHLT_MAX98373
+
config INCLUDE_NHLT_BLOBS_NAUTILUS
bool "Include blobs for nautilus audio."
select NHLT_DA7219
@@ -75,6 +83,7 @@ config MAINBOARD_DIR
config MAINBOARD_FAMILY
string
+ default "Google_Atlas" if BOARD_GOOGLE_ATLAS
default "Google_Poppy" if BOARD_GOOGLE_POPPY
default "Google_Nami" if BOARD_GOOGLE_NAMI
default "Google_Nautilus" if BOARD_GOOGLE_NAUTILUS
@@ -82,6 +91,7 @@ config MAINBOARD_FAMILY
config MAINBOARD_PART_NUMBER
string
+ default "Atlas" if BOARD_GOOGLE_ATLAS
default "Poppy" if BOARD_GOOGLE_POPPY
default "Nami" if BOARD_GOOGLE_NAMI
default "Nautilus" if BOARD_GOOGLE_NAUTILUS
@@ -97,6 +107,7 @@ config TPM_TIS_ACPI_INTERRUPT
config VARIANT_DIR
string
+ default "atlas" if BOARD_GOOGLE_ATLAS
default "poppy" if BOARD_GOOGLE_POPPY
default "nami" if BOARD_GOOGLE_NAMI
default "nautilus" if BOARD_GOOGLE_NAUTILUS
@@ -123,6 +134,16 @@ config VARIANT_HAS_SPI_TPM
select SPI_TPM
select TPM2
+config VARIANT_SPECIFIC_OPTIONS_ATLAS
+ def_bool n
+ select CHROMEOS_WIFI_SAR if CHROMEOS
+ select DRIVERS_I2C_MAX98373
+ select DRIVERS_I2C_DA7219
+ select DRIVERS_PS2_KEYBOARD
+ select DRIVERS_SPI_ACPI
+ select EXCLUDE_NATIVE_SD_INTERFACE
+ select VARIANT_HAS_SPI_TPM if !VBOOT_MOCK_SECDATA
+
config VARIANT_SPECIFIC_OPTIONS_POPPY
def_bool n
select DRIVERS_I2C_MAX98927