summaryrefslogtreecommitdiff
path: root/src/mainboard/google/hatch/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/hatch/Kconfig')
-rw-r--r--src/mainboard/google/hatch/Kconfig146
1 files changed, 13 insertions, 133 deletions
diff --git a/src/mainboard/google/hatch/Kconfig b/src/mainboard/google/hatch/Kconfig
index 2d8ee15766..3522787c3c 100644
--- a/src/mainboard/google/hatch/Kconfig
+++ b/src/mainboard/google/hatch/Kconfig
@@ -1,4 +1,4 @@
-config BOARD_GOOGLE_HATCH_COMMON
+config BOARD_GOOGLE_BASEBOARD_HATCH
def_bool n
select BOARD_ROMSIZE_KB_16384 if !BOARD_ROMSIZE_KB_32768
select DRIVERS_GENERIC_GPIO_KEYS
@@ -17,6 +17,7 @@ config BOARD_GOOGLE_HATCH_COMMON
select GOOGLE_SMBIOS_MAINBOARD_VERSION
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
+ select HAVE_SPD_IN_CBFS
select INTEL_LPSS_UART_FOR_CONSOLE
select MAINBOARD_HAS_CHROMEOS
select MAINBOARD_HAS_TPM2
@@ -24,57 +25,17 @@ config BOARD_GOOGLE_HATCH_COMMON
select SOC_INTEL_COMETLAKE_1
select SOC_INTEL_COMMON_BLOCK_DTT
select SPI_TPM
- select TPM_GOOGLE_CR50
-
-config BOARD_GOOGLE_BASEBOARD_HATCH
- def_bool n
- select BOARD_GOOGLE_HATCH_COMMON
select SYSTEM_TYPE_LAPTOP
-
-config BOARD_GOOGLE_BASEBOARD_PUFF
- def_bool n
- select BOARD_GOOGLE_HATCH_COMMON
- select DRIVERS_INTEL_DPTF
- select ROMSTAGE_SPD_SMBUS
- select RT8168_GEN_ACPI_POWER_RESOURCE
- select RT8168_GET_MAC_FROM_VPD
- select RT8168_SET_LED_MODE
- select SOC_INTEL_CSE_LITE_SKU
- select SPD_READ_BY_WORD
- select FW_CONFIG
- select FW_CONFIG_SOURCE_CHROMEEC_CBI
+ select TPM_GOOGLE_CR50
config BOARD_GOOGLE_AKEMI
select BOARD_GOOGLE_BASEBOARD_HATCH
select INTEL_GMA_HAVE_VBT
-config BOARD_GOOGLE_AMBASSADOR
- select BOARD_GOOGLE_BASEBOARD_PUFF
-
-config BOARD_GOOGLE_DOOLY
- select BOARD_GOOGLE_BASEBOARD_PUFF
- select INTEL_GMA_HAVE_VBT
-
config BOARD_GOOGLE_DRATINI
select BOARD_GOOGLE_BASEBOARD_HATCH
select INTEL_GMA_HAVE_VBT
-config BOARD_GOOGLE_DUFFY_LEGACY
- select BOARD_GOOGLE_BASEBOARD_PUFF
- select BOARD_ROMSIZE_KB_32768
- select INTEL_GMA_HAVE_VBT
-
-config BOARD_GOOGLE_DUFFY
- select BOARD_GOOGLE_BASEBOARD_PUFF
- select INTEL_GMA_HAVE_VBT
-
-config BOARD_GOOGLE_FAFFY
- select BOARD_GOOGLE_BASEBOARD_PUFF
- select INTEL_GMA_HAVE_VBT
-
-config BOARD_GOOGLE_GENESIS
- select BOARD_GOOGLE_BASEBOARD_PUFF
-
config BOARD_GOOGLE_HATCH
select BOARD_GOOGLE_BASEBOARD_HATCH
select BOARD_ROMSIZE_KB_32768
@@ -97,15 +58,6 @@ config BOARD_GOOGLE_JINLON
select DRIVERS_GFX_GENERIC
select INTEL_GMA_HAVE_VBT
-config BOARD_GOOGLE_KAISA_LEGACY
- select BOARD_GOOGLE_BASEBOARD_PUFF
- select BOARD_ROMSIZE_KB_32768
- select INTEL_GMA_HAVE_VBT
-
-config BOARD_GOOGLE_KAISA
- select BOARD_GOOGLE_BASEBOARD_PUFF
- select INTEL_GMA_HAVE_VBT
-
config BOARD_GOOGLE_KINDRED
select BOARD_GOOGLE_BASEBOARD_HATCH
select INTEL_GMA_HAVE_VBT
@@ -115,9 +67,6 @@ config BOARD_GOOGLE_KOHAKU
select BOARD_GOOGLE_BASEBOARD_HATCH
select INTEL_GMA_HAVE_VBT
-config BOARD_GOOGLE_MOONBUGGY
- select BOARD_GOOGLE_BASEBOARD_PUFF
-
config BOARD_GOOGLE_MUSHU
select BOARD_GOOGLE_BASEBOARD_HATCH
select INTEL_GMA_HAVE_VBT
@@ -128,42 +77,25 @@ config BOARD_GOOGLE_NIGHTFURY
select DRIVERS_I2C_MAX98390
select INTEL_GMA_HAVE_VBT
-config BOARD_GOOGLE_NOIBAT
- select BOARD_GOOGLE_BASEBOARD_PUFF
- select INTEL_GMA_HAVE_VBT
-
config BOARD_GOOGLE_PALKIA
select BOARD_GOOGLE_BASEBOARD_HATCH
select CHROMEOS_DSM_CALIB if CHROMEOS
select DRIVERS_I2C_RT1011
-config BOARD_GOOGLE_PUFF
- select BOARD_GOOGLE_BASEBOARD_PUFF
- select BOARD_ROMSIZE_KB_32768
- select INTEL_GMA_HAVE_VBT
-
-config BOARD_GOOGLE_SCOUT
- select BOARD_GOOGLE_BASEBOARD_PUFF
-
-config BOARD_GOOGLE_WYVERN
- select BOARD_GOOGLE_BASEBOARD_PUFF
- select INTEL_GMA_HAVE_VBT
-
-if BOARD_GOOGLE_HATCH_COMMON
+if BOARD_GOOGLE_BASEBOARD_HATCH
config DISABLE_HECI1_AT_PRE_BOOT
- default y if BOARD_GOOGLE_BASEBOARD_HATCH
+ default y
config CHROMEOS
- select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if !ROMSTAGE_SPD_SMBUS
+ select CHROMEOS_DRAM_PART_NUMBER_IN_CBI
select EC_GOOGLE_CHROMEEC_SWITCHES
- select GBB_FLAG_FORCE_DEV_SWITCH_ON
- select GBB_FLAG_FORCE_DEV_BOOT_USB
select GBB_FLAG_FORCE_DEV_BOOT_ALTFW
+ select GBB_FLAG_FORCE_DEV_BOOT_USB
+ select GBB_FLAG_FORCE_DEV_SWITCH_ON
select GBB_FLAG_FORCE_MANUAL_RECOVERY
select HAS_RECOVERY_MRC_CACHE
select VBOOT_LID_SWITCH
- select CHROMEOS_CSE_BOARD_RESET_OVERRIDE if SOC_INTEL_CSE_LITE_SKU
config CHROMEOS_WIFI_SAR
bool "Enable SAR options for ChromeOS build"
@@ -179,37 +111,15 @@ config DEVICETREE
config DIMM_MAX
default 2
-config ROMSTAGE_SPD_CBFS
- bool
- default y if !ROMSTAGE_SPD_SMBUS
- select HAVE_SPD_IN_CBFS
-
-config ROMSTAGE_SPD_SMBUS
- bool
- default n
- select SPD_CACHE_IN_FMAP
-
config DRIVER_TPM_SPI_BUS
default 0x1
config UART_FOR_CONSOLE
default 0
-if BOARD_GOOGLE_BASEBOARD_HATCH
config FMDFILE
- default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-hatch-16MiB.fmd" if BOARD_ROMSIZE_KB_16384 && CHROMEOS
- default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-hatch-32MiB.fmd" if BOARD_ROMSIZE_KB_32768 && CHROMEOS
-endif
-
-if BOARD_GOOGLE_BASEBOARD_PUFF
-config FMDFILE
- default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-puff-16MiB.fmd" if BOARD_ROMSIZE_KB_16384 && CHROMEOS
- default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-puff-32MiB.fmd" if BOARD_ROMSIZE_KB_32768 && CHROMEOS
-
-config POWER_OFF_ON_CR50_UPDATE
- bool
- default n
-endif
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-16MiB.fmd" if BOARD_ROMSIZE_KB_16384 && CHROMEOS
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-32MiB.fmd" if BOARD_ROMSIZE_KB_32768 && CHROMEOS
config MAINBOARD_DIR
default "google/hatch"
@@ -221,28 +131,15 @@ config MAINBOARD_FAMILY
config MAINBOARD_PART_NUMBER
default "Akemi" if BOARD_GOOGLE_AKEMI
default "Dratini" if BOARD_GOOGLE_DRATINI
- default "Duffy" if BOARD_GOOGLE_DUFFY
- default "Duffy" if BOARD_GOOGLE_DUFFY_LEGACY
- default "Faffy" if BOARD_GOOGLE_FAFFY
default "Hatch" if BOARD_GOOGLE_HATCH
default "Helios" if BOARD_GOOGLE_HELIOS
default "Helios_Diskswap" if BOARD_GOOGLE_HELIOS_DISKSWAP
default "Jinlon" if BOARD_GOOGLE_JINLON
- default "Kaisa" if BOARD_GOOGLE_KAISA
- default "Kaisa" if BOARD_GOOGLE_KAISA_LEGACY
default "Kindred" if BOARD_GOOGLE_KINDRED
default "Kohaku" if BOARD_GOOGLE_KOHAKU
default "Mushu" if BOARD_GOOGLE_MUSHU
- default "Noibat" if BOARD_GOOGLE_NOIBAT
- default "Palkia" if BOARD_GOOGLE_PALKIA
default "Nightfury" if BOARD_GOOGLE_NIGHTFURY
- default "Puff" if BOARD_GOOGLE_PUFF
- default "Wyvern" if BOARD_GOOGLE_WYVERN
- default "Dooly" if BOARD_GOOGLE_DOOLY
- default "Ambassador" if BOARD_GOOGLE_AMBASSADOR
- default "Genesis" if BOARD_GOOGLE_GENESIS
- default "Scout" if BOARD_GOOGLE_SCOUT
- default "Moonbuggy" if BOARD_GOOGLE_MOONBUGGY
+ default "Palkia" if BOARD_GOOGLE_PALKIA
config OVERRIDE_DEVICETREE
default "variants/helios_diskswap/overridetree.cb" if BOARD_GOOGLE_HELIOS_DISKSWAP
@@ -255,28 +152,15 @@ config TPM_TIS_ACPI_INTERRUPT
config VARIANT_DIR
default "akemi" if BOARD_GOOGLE_AKEMI
default "dratini" if BOARD_GOOGLE_DRATINI
- default "duffy" if BOARD_GOOGLE_DUFFY
- default "duffy" if BOARD_GOOGLE_DUFFY_LEGACY
- default "faffy" if BOARD_GOOGLE_FAFFY
default "hatch" if BOARD_GOOGLE_HATCH
default "helios" if BOARD_GOOGLE_HELIOS
default "helios" if BOARD_GOOGLE_HELIOS_DISKSWAP
default "jinlon" if BOARD_GOOGLE_JINLON
- default "kaisa" if BOARD_GOOGLE_KAISA
- default "kaisa" if BOARD_GOOGLE_KAISA_LEGACY
default "kindred" if BOARD_GOOGLE_KINDRED
default "kohaku" if BOARD_GOOGLE_KOHAKU
default "mushu" if BOARD_GOOGLE_MUSHU
- default "noibat" if BOARD_GOOGLE_NOIBAT
- default "palkia" if BOARD_GOOGLE_PALKIA
default "nightfury" if BOARD_GOOGLE_NIGHTFURY
- default "puff" if BOARD_GOOGLE_PUFF
- default "wyvern" if BOARD_GOOGLE_WYVERN
- default "dooly" if BOARD_GOOGLE_DOOLY
- default "ambassador" if BOARD_GOOGLE_AMBASSADOR
- default "genesis" if BOARD_GOOGLE_GENESIS
- default "scout" if BOARD_GOOGLE_SCOUT
- default "moonbuggy" if BOARD_GOOGLE_MOONBUGGY
+ default "palkia" if BOARD_GOOGLE_PALKIA
config VBOOT
select HAS_RECOVERY_MRC_CACHE
@@ -285,8 +169,4 @@ config VBOOT
config USE_PM_ACPI_TIMER
default n
-config EDK2_BOOT_TIMEOUT
- int
- default 5 if BOARD_GOOGLE_BASEBOARD_PUFF
-
-endif # BOARD_GOOGLE_HATCH_COMMON
+endif # BOARD_GOOGLE_BASEBOARD_HATCH