2016-12-14 21:10:21 +01:00
|
|
|
|
2017-04-13 22:36:59 +02:00
|
|
|
config BOARD_GOOGLE_BASEBOARD_POPPY
|
|
|
|
def_bool n
|
2016-12-14 21:10:21 +01:00
|
|
|
select BOARD_ROMSIZE_KB_16384
|
2017-02-18 05:25:46 +01:00
|
|
|
select DRIVERS_I2C_GENERIC
|
2017-02-19 10:18:09 +01:00
|
|
|
select DRIVERS_I2C_HID
|
2016-12-14 21:10:21 +01:00
|
|
|
select EC_GOOGLE_CHROMEEC
|
2017-09-25 17:06:56 +02:00
|
|
|
select EC_GOOGLE_CHROMEEC_BOARDID
|
2016-12-14 21:10:21 +01:00
|
|
|
select EC_GOOGLE_CHROMEEC_LPC
|
|
|
|
select HAVE_ACPI_RESUME
|
|
|
|
select HAVE_ACPI_TABLES
|
|
|
|
select MAINBOARD_HAS_CHROMEOS
|
|
|
|
select MAINBOARD_USES_FSP2_0
|
2017-02-09 12:02:20 +01:00
|
|
|
select SOC_INTEL_KABYLAKE
|
2016-12-14 21:10:21 +01:00
|
|
|
|
2017-04-13 22:36:59 +02:00
|
|
|
if BOARD_GOOGLE_BASEBOARD_POPPY
|
|
|
|
|
2017-04-13 23:15:56 +02:00
|
|
|
config DEVICETREE
|
|
|
|
string
|
2017-12-05 02:41:44 +01:00
|
|
|
default "variants/nami/devicetree.cb" if BOARD_GOOGLE_NAMI
|
2017-10-05 15:57:16 +02:00
|
|
|
default "variants/nautilus/devicetree.cb" if BOARD_GOOGLE_NAUTILUS
|
2017-05-01 23:23:37 +02:00
|
|
|
default "variants/soraka/devicetree.cb" if BOARD_GOOGLE_SORAKA
|
2017-04-13 23:15:56 +02:00
|
|
|
default "variants/baseboard/devicetree.cb"
|
|
|
|
|
2017-05-02 00:47:06 +02:00
|
|
|
config DRIVER_TPM_I2C_BUS
|
2017-12-04 21:36:15 +01:00
|
|
|
depends on VARIANT_HAS_I2C_TPM
|
2017-05-16 10:40:00 +02:00
|
|
|
default 0x1
|
2017-05-02 00:47:06 +02:00
|
|
|
|
|
|
|
config DRIVER_TPM_I2C_ADDR
|
2017-12-04 21:36:15 +01:00
|
|
|
depends on VARIANT_HAS_I2C_TPM
|
2017-05-02 00:47:06 +02:00
|
|
|
default 0x50
|
|
|
|
|
2017-04-13 22:36:59 +02:00
|
|
|
config DRIVER_TPM_SPI_BUS
|
2017-12-04 21:36:15 +01:00
|
|
|
depends on VARIANT_HAS_SPI_TPM
|
2017-04-13 22:36:59 +02:00
|
|
|
default 0x1
|
2016-12-14 21:10:21 +01:00
|
|
|
|
|
|
|
config GBB_HWID
|
|
|
|
string
|
|
|
|
depends on CHROMEOS
|
2017-04-13 22:36:59 +02:00
|
|
|
default "POPPY TEST 8294" if BOARD_GOOGLE_POPPY
|
2017-12-05 02:41:44 +01:00
|
|
|
default "NAMI TEST 1669" if BOARD_GOOGLE_NAMI
|
2017-10-05 15:57:16 +02:00
|
|
|
default "NAUTILUS TEST 3013" if BOARD_GOOGLE_NAUTILUS
|
2017-04-19 00:32:55 +02:00
|
|
|
default "SORAKA TEST 1869" if BOARD_GOOGLE_SORAKA
|
2017-04-13 22:36:59 +02:00
|
|
|
|
|
|
|
config INCLUDE_NHLT_BLOBS
|
|
|
|
bool "Include blobs for audio."
|
|
|
|
select NHLT_DMIC_2CH
|
|
|
|
select NHLT_DMIC_4CH
|
|
|
|
select NHLT_MAX98927
|
|
|
|
select NHLT_RT5663
|
2016-12-14 21:10:21 +01:00
|
|
|
|
2017-10-05 15:57:16 +02:00
|
|
|
config INCLUDE_NHLT_BLOBS_NAUTILUS
|
|
|
|
bool "Include blobs for nautilus audio."
|
2017-11-03 22:46:42 +01:00
|
|
|
select NHLT_DA7219
|
2017-11-13 20:05:21 +01:00
|
|
|
select NHLT_DMIC_4CH
|
|
|
|
select NHLT_MAX98357
|
2017-10-05 15:57:16 +02:00
|
|
|
|
2017-12-13 09:47:57 +01:00
|
|
|
config INCLUDE_NHLT_BLOBS_NAMI
|
|
|
|
bool "Include blobs for nami audio."
|
|
|
|
select NHLT_DA7219
|
|
|
|
select NHLT_DMIC_4CH
|
|
|
|
select NHLT_MAX98357
|
|
|
|
|
2016-12-14 21:10:21 +01:00
|
|
|
config MAINBOARD_DIR
|
|
|
|
string
|
|
|
|
default "google/poppy"
|
|
|
|
|
2017-04-13 22:36:59 +02:00
|
|
|
config MAINBOARD_FAMILY
|
2016-12-14 21:10:21 +01:00
|
|
|
string
|
2017-04-13 22:36:59 +02:00
|
|
|
default "Google_Poppy" if BOARD_GOOGLE_POPPY
|
2017-12-05 02:41:44 +01:00
|
|
|
default "Google_Nami" if BOARD_GOOGLE_NAMI
|
2017-10-05 15:57:16 +02:00
|
|
|
default "Google_Nautilus" if BOARD_GOOGLE_NAUTILUS
|
2017-04-19 00:32:55 +02:00
|
|
|
default "Google_Soraka" if BOARD_GOOGLE_SORAKA
|
2016-12-14 21:10:21 +01:00
|
|
|
|
2017-04-13 22:36:59 +02:00
|
|
|
config MAINBOARD_PART_NUMBER
|
2016-12-14 21:10:21 +01:00
|
|
|
string
|
2017-04-13 22:36:59 +02:00
|
|
|
default "Poppy" if BOARD_GOOGLE_POPPY
|
2017-12-05 02:41:44 +01:00
|
|
|
default "Nami" if BOARD_GOOGLE_NAMI
|
2017-10-05 15:57:16 +02:00
|
|
|
default "Nautilus" if BOARD_GOOGLE_NAUTILUS
|
2017-04-19 00:32:55 +02:00
|
|
|
default "Soraka" if BOARD_GOOGLE_SORAKA
|
2016-12-14 21:10:21 +01:00
|
|
|
|
|
|
|
config MAX_CPUS
|
|
|
|
int
|
|
|
|
default 8
|
|
|
|
|
2017-12-04 21:36:15 +01:00
|
|
|
config TPM_TIS_ACPI_INTERRUPT
|
|
|
|
int
|
|
|
|
default 64 # GPE0_DW2_00 (GPP_E0)
|
|
|
|
|
|
|
|
config VARIANT_DIR
|
|
|
|
string
|
|
|
|
default "poppy" if BOARD_GOOGLE_POPPY
|
2017-12-05 02:41:44 +01:00
|
|
|
default "nami" if BOARD_GOOGLE_NAMI
|
2017-12-04 21:36:15 +01:00
|
|
|
default "nautilus" if BOARD_GOOGLE_NAUTILUS
|
|
|
|
default "soraka" if BOARD_GOOGLE_SORAKA
|
|
|
|
|
|
|
|
# Select this option to enable use of cr50 I2C TPM on the variant.
|
|
|
|
config VARIANT_HAS_I2C_TPM
|
2017-05-02 00:47:06 +02:00
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select I2C_TPM
|
|
|
|
select MAINBOARD_HAS_I2C_TPM_CR50
|
|
|
|
select TPM2
|
|
|
|
|
2017-12-04 21:43:19 +01:00
|
|
|
# Select this option to enable camera ACPI support on the variant.
|
|
|
|
config VARIANT_HAS_CAMERA_ACPI
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2017-12-04 21:36:15 +01:00
|
|
|
# Select this option to enable use of cr50 SPI TPM on the variant.
|
|
|
|
config VARIANT_HAS_SPI_TPM
|
2017-04-11 06:27:21 +02:00
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select MAINBOARD_HAS_SPI_TPM_CR50
|
|
|
|
select SPI_TPM
|
|
|
|
select TPM2
|
|
|
|
|
2017-12-04 21:22:25 +01:00
|
|
|
config VARIANT_SPECIFIC_OPTIONS_POPPY
|
|
|
|
def_bool n
|
|
|
|
select DRIVERS_I2C_MAX98927
|
|
|
|
select NO_FADT_8042
|
2017-12-04 21:43:19 +01:00
|
|
|
select VARIANT_HAS_CAMERA_ACPI
|
2017-12-04 21:36:15 +01:00
|
|
|
select VARIANT_HAS_I2C_TPM if !VBOOT_MOCK_SECDATA
|
2017-12-04 21:22:25 +01:00
|
|
|
|
2017-12-05 02:41:44 +01:00
|
|
|
config VARIANT_SPECIFIC_OPTIONS_NAMI
|
|
|
|
def_bool n
|
2017-12-13 09:47:57 +01:00
|
|
|
select DRIVERS_GENERIC_MAX98357A
|
|
|
|
select DRIVERS_I2C_DA7219
|
2017-12-05 02:41:44 +01:00
|
|
|
select DRIVERS_PS2_KEYBOARD
|
|
|
|
select DRIVERS_SPI_ACPI
|
2017-12-12 08:34:45 +01:00
|
|
|
select EXCLUDE_NATIVE_SD_INTERFACE
|
2017-12-05 02:41:44 +01:00
|
|
|
select VARIANT_HAS_SPI_TPM if !VBOOT_MOCK_SECDATA
|
|
|
|
|
2017-12-04 21:22:25 +01:00
|
|
|
config VARIANT_SPECIFIC_OPTIONS_NAUTILUS
|
|
|
|
def_bool n
|
2017-10-12 08:50:21 +02:00
|
|
|
select DRIVERS_GENERIC_MAX98357A
|
2017-12-04 21:22:25 +01:00
|
|
|
select DRIVERS_I2C_DA7219
|
|
|
|
select DRIVERS_PS2_KEYBOARD
|
2017-12-04 21:36:15 +01:00
|
|
|
select VARIANT_HAS_I2C_TPM if !VBOOT_MOCK_SECDATA
|
2017-12-04 21:22:25 +01:00
|
|
|
|
|
|
|
config VARIANT_SPECIFIC_OPTIONS_SORAKA
|
|
|
|
def_bool n
|
|
|
|
select DRIVERS_I2C_MAX98927
|
|
|
|
select NO_FADT_8042
|
2017-12-04 21:43:19 +01:00
|
|
|
select VARIANT_HAS_CAMERA_ACPI
|
2017-12-04 21:36:15 +01:00
|
|
|
select VARIANT_HAS_I2C_TPM if !VBOOT_MOCK_SECDATA
|
2017-12-04 21:22:25 +01:00
|
|
|
|
2017-04-13 22:36:59 +02:00
|
|
|
config VBOOT
|
|
|
|
select EC_GOOGLE_CHROMEEC_SWITCHES
|
2017-04-26 07:48:31 +02:00
|
|
|
select HAS_RECOVERY_MRC_CACHE
|
|
|
|
select MRC_CLEAR_NORMAL_CACHE_ON_RECOVERY_RETRAIN
|
2017-04-13 22:36:59 +02:00
|
|
|
select VBOOT_LID_SWITCH
|
|
|
|
|
|
|
|
endif # BOARD_GOOGLE_BASEBOARD_POPPY
|