dcf86e0cff
Previously all boards using eSPI for the Chrome EC just called it LPC as the code for the chrome EC is the same between the two busses. I'm adding a new Kconfig symbol to specify eSPI, so switch the boards that actually use eSPI to that symbol and add the LPC symbol to all the others. The EC_GOOGLE_CHROMEEC_LPC symbol will no longer default to enabled for x86 platforms, so one symbol or the other needs to be specified for each platform. BUG=b:140055300 TEST=Build tested only. Change-Id: Icf242ca2b7d8b1470feda4e44b47a2cdc20680f2 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35153 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
89 lines
1.7 KiB
Text
89 lines
1.7 KiB
Text
|
|
config BOARD_INTEL_BASEBOARD_GLKRVP
|
|
def_bool n
|
|
select SOC_INTEL_GLK
|
|
select BOARD_ROMSIZE_KB_16384
|
|
select DRIVERS_I2C_GENERIC
|
|
select DRIVERS_I2C_HID
|
|
select HAVE_ACPI_RESUME
|
|
select HAVE_ACPI_TABLES
|
|
select INTEL_LPSS_UART_FOR_CONSOLE
|
|
select MAINBOARD_HAS_CHROMEOS
|
|
select MAINBOARD_HAS_LPC_TPM
|
|
select DRIVERS_GENERIC_MAX98357A
|
|
select DRIVERS_I2C_DA7219
|
|
select SOC_ESPI
|
|
|
|
if BOARD_INTEL_BASEBOARD_GLKRVP
|
|
|
|
config BASEBOARD_GLKRVP_LAPTOP
|
|
def_bool n
|
|
select SYSTEM_TYPE_LAPTOP
|
|
|
|
choice
|
|
prompt "ON BOARD EC"
|
|
default GLK_CHROME_EC
|
|
help
|
|
This option allows you to select the on board EC to use.
|
|
Select whether the board has Intel EC or Chrome EC
|
|
|
|
config GLK_CHROME_EC
|
|
bool "Chrome EC"
|
|
select EC_GOOGLE_CHROMEEC
|
|
select EC_GOOGLE_CHROMEEC_ESPI
|
|
|
|
config GLK_INTEL_EC
|
|
bool "Intel EC"
|
|
select EC_ACPI
|
|
endchoice
|
|
|
|
config CHROMEOS
|
|
bool
|
|
default y
|
|
select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
|
|
select VBOOT_LID_SWITCH if GLK_CHROME_EC
|
|
|
|
config VBOOT
|
|
select HAS_RECOVERY_MRC_CACHE
|
|
select MRC_CLEAR_NORMAL_CACHE_ON_RECOVERY_RETRAIN
|
|
select EC_GOOGLE_CHROMEEC_SWITCHES if GLK_CHROME_EC
|
|
|
|
config MAINBOARD_DIR
|
|
string
|
|
default intel/glkrvp
|
|
|
|
config VARIANT_DIR
|
|
string
|
|
default "glkrvp" if BOARD_INTEL_GLKRVP
|
|
|
|
config DEVICETREE
|
|
string
|
|
default "variants/baseboard/devicetree.cb"
|
|
|
|
config MAINBOARD_PART_NUMBER
|
|
string
|
|
default "glkrvp" if BOARD_INTEL_GLKRVP
|
|
|
|
config MAINBOARD_FAMILY
|
|
string
|
|
default "Intel_Glkrvp" if BOARD_INTEL_GLKRVP
|
|
|
|
config MAX_CPUS
|
|
int
|
|
default 4
|
|
|
|
config UART_FOR_CONSOLE
|
|
int
|
|
default 2
|
|
|
|
config INCLUDE_NHLT_BLOBS
|
|
bool "Include blobs for audio."
|
|
select NHLT_DMIC_4CH_16B
|
|
select NHLT_DA7219
|
|
select NHLT_MAX98357
|
|
|
|
config IS_GLK_RVP_1
|
|
bool "Is this RVP1?"
|
|
default n
|
|
|
|
endif # BOARD_INTEL_GLKRVP
|