summaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/poppy')
-rw-r--r--src/mainboard/google/poppy/Kconfig46
-rw-r--r--src/mainboard/google/poppy/Kconfig.name1
2 files changed, 25 insertions, 22 deletions
diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig
index bc0c9cb483..e97df9b5ac 100644
--- a/src/mainboard/google/poppy/Kconfig
+++ b/src/mainboard/google/poppy/Kconfig
@@ -1,55 +1,54 @@
-if BOARD_GOOGLE_POPPY
-config BOARD_SPECIFIC_OPTIONS
- def_bool y
+config BOARD_GOOGLE_BASEBOARD_POPPY
+ def_bool n
select BOARD_ID_AUTO
select BOARD_ROMSIZE_KB_16384
select DRIVERS_INTEL_MIPI_CAMERA
select DRIVERS_I2C_GENERIC
select DRIVERS_I2C_HID
+ select DRIVERS_I2C_MAX98927
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_LPC
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select MAINBOARD_HAS_CHROMEOS
select MAINBOARD_USES_FSP2_0
- select DRIVERS_I2C_MAX98927
select NO_FADT_8042
select SOC_INTEL_KABYLAKE
-config VBOOT
- select EC_GOOGLE_CHROMEEC_SWITCHES
- select VBOOT_LID_SWITCH
+if BOARD_GOOGLE_BASEBOARD_POPPY
+
+config DRIVER_TPM_SPI_BUS
+ default 0x1
config GBB_HWID
string
depends on CHROMEOS
- default "POPPY TEST 8294"
+ default "POPPY TEST 8294" if BOARD_GOOGLE_POPPY
+
+config INCLUDE_NHLT_BLOBS
+ bool "Include blobs for audio."
+ select NHLT_DMIC_2CH
+ select NHLT_DMIC_4CH
+ select NHLT_MAX98927
+ select NHLT_RT5663
config MAINBOARD_DIR
string
default "google/poppy"
-config MAINBOARD_PART_NUMBER
+config MAINBOARD_FAMILY
string
- default "Poppy"
+ default "Google_Poppy" if BOARD_GOOGLE_POPPY
-config MAINBOARD_FAMILY
+config MAINBOARD_PART_NUMBER
string
- default "Google_Poppy"
+ default "Poppy" if BOARD_GOOGLE_POPPY
config MAX_CPUS
int
default 8
-config INCLUDE_NHLT_BLOBS
- bool "Include blobs for audio."
- select NHLT_DMIC_2CH
- select NHLT_DMIC_4CH
- select NHLT_MAX98927
- select NHLT_RT5663
-endif
-
# Select this option to enable use of cr50 SPI TPM on poppy.
# This option is disabled by default.
config POPPY_USE_SPI_TPM
@@ -60,5 +59,8 @@ config POPPY_USE_SPI_TPM
select SPI_TPM
select TPM2
-config DRIVER_TPM_SPI_BUS
- default 0x1
+config VBOOT
+ select EC_GOOGLE_CHROMEEC_SWITCHES
+ select VBOOT_LID_SWITCH
+
+endif # BOARD_GOOGLE_BASEBOARD_POPPY
diff --git a/src/mainboard/google/poppy/Kconfig.name b/src/mainboard/google/poppy/Kconfig.name
index 745fd38560..b579ea8419 100644
--- a/src/mainboard/google/poppy/Kconfig.name
+++ b/src/mainboard/google/poppy/Kconfig.name
@@ -1,2 +1,3 @@
config BOARD_GOOGLE_POPPY
bool "Poppy"
+ select BOARD_GOOGLE_BASEBOARD_POPPY