Martin Roth | 41a8997 | 2024-02-16 10:57:31 -0700 | [diff] [blame^] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 3 | config BOARD_GOOGLE_BASEBOARD_DRALLION |
| 4 | def_bool n |
| 5 | select BOARD_ROMSIZE_KB_32768 |
Furquan Shaikh | a0b0d42 | 2020-02-21 09:57:54 -0800 | [diff] [blame] | 6 | select DRIVERS_GFX_GENERIC |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 7 | select DRIVERS_I2C_GENERIC |
| 8 | select DRIVERS_I2C_HID |
| 9 | select DRIVERS_INTEL_ISH |
| 10 | select DRIVERS_SPI_ACPI |
| 11 | select DRIVERS_USB_ACPI |
| 12 | select EC_GOOGLE_WILCO |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 13 | select GOOGLE_SMBIOS_MAINBOARD_VERSION |
| 14 | select HAVE_ACPI_RESUME |
| 15 | select HAVE_ACPI_TABLES |
Felix Singer | 6c158a3 | 2021-12-16 02:49:27 +0100 | [diff] [blame] | 16 | select HAVE_SPD_IN_CBFS |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 17 | select I2C_TPM |
Matt DeVillier | 2e82fcf | 2023-01-25 14:27:42 -0600 | [diff] [blame] | 18 | select INTEL_GMA_HAVE_VBT |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 19 | select INTEL_LPSS_UART_FOR_CONSOLE |
| 20 | select MAINBOARD_HAS_CHROMEOS |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 21 | select MAINBOARD_HAS_TPM2 |
Felix Singer | 6c158a3 | 2021-12-16 02:49:27 +0100 | [diff] [blame] | 22 | select MAINBOARD_USES_IFD_EC_REGION |
Matt DeVillier | 8bdb006 | 2020-05-31 12:31:15 -0500 | [diff] [blame] | 23 | select SMBIOS_SERIAL_FROM_VPD if VPD |
Felix Singer | e1af5b8 | 2020-08-31 19:51:52 +0000 | [diff] [blame] | 24 | select SOC_INTEL_COMETLAKE_1 |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 25 | select SOC_INTEL_COMMON_BLOCK_HDA_VERB |
| 26 | select SOC_INTEL_COMMON_BLOCK_SMM_ESPI_DISABLE |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 27 | select SYSTEM_TYPE_LAPTOP |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 28 | select TPM_GOOGLE_CR50 |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 29 | |
Felix Singer | ec14217 | 2021-12-16 02:50:47 +0100 | [diff] [blame] | 30 | config BOARD_GOOGLE_DRALLION |
| 31 | select BOARD_GOOGLE_BASEBOARD_DRALLION |
| 32 | |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 33 | if BOARD_GOOGLE_BASEBOARD_DRALLION |
| 34 | |
Matt DeVillier | 0de0254 | 2022-02-13 13:43:35 -0600 | [diff] [blame] | 35 | config DISABLE_HECI1_AT_PRE_BOOT |
| 36 | default y |
| 37 | |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 38 | config CHROMEOS |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 39 | select GBB_FLAG_FORCE_DEV_SWITCH_ON |
| 40 | select GBB_FLAG_FORCE_DEV_BOOT_USB |
Joel Kitching | a904fd6 | 2021-02-19 18:10:58 +0800 | [diff] [blame] | 41 | select GBB_FLAG_FORCE_DEV_BOOT_ALTFW |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 42 | select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC |
| 43 | |
Eric Lai | af681b6 | 2020-03-02 12:20:49 +0800 | [diff] [blame] | 44 | config CHROMEOS_WIFI_SAR |
Jon Murphy | c4e9045 | 2022-06-28 10:36:23 -0600 | [diff] [blame] | 45 | bool "Enable SAR options for ChromeOS build" |
Eric Lai | af681b6 | 2020-03-02 12:20:49 +0800 | [diff] [blame] | 46 | depends on CHROMEOS |
| 47 | select DSAR_ENABLE |
Eric Lai | f9c6a88 | 2020-03-12 17:24:34 +0800 | [diff] [blame] | 48 | select GEO_SAR_ENABLE |
Eric Lai | af681b6 | 2020-03-02 12:20:49 +0800 | [diff] [blame] | 49 | select SAR_ENABLE |
| 50 | select USE_SAR |
Eric Lai | af681b6 | 2020-03-02 12:20:49 +0800 | [diff] [blame] | 51 | |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 52 | config DIMM_MAX |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 53 | default 2 |
| 54 | |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 55 | config DRIVER_TPM_I2C_BUS |
| 56 | hex |
| 57 | default 0x4 |
| 58 | |
| 59 | config DRIVER_TPM_I2C_ADDR |
| 60 | hex |
| 61 | default 0x50 |
| 62 | |
| 63 | config TPM_TIS_ACPI_INTERRUPT |
| 64 | int |
| 65 | default 82 # GPE0_DW2_18 (GPP_D18) |
| 66 | |
| 67 | config POWER_OFF_ON_CR50_UPDATE |
| 68 | bool |
| 69 | default n |
| 70 | |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 71 | config MAINBOARD_DIR |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 72 | default "google/drallion" |
| 73 | |
| 74 | config MAINBOARD_FAMILY |
| 75 | string |
Thejaswani Putta | 51d9d67 | 2019-08-15 13:31:36 -0700 | [diff] [blame] | 76 | default "Google_Drallion" if BOARD_GOOGLE_DRALLION |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 77 | |
| 78 | config MAINBOARD_PART_NUMBER |
Thejaswani Putta | 51d9d67 | 2019-08-15 13:31:36 -0700 | [diff] [blame] | 79 | default "Drallion" if BOARD_GOOGLE_DRALLION |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 80 | |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 81 | config UART_FOR_CONSOLE |
| 82 | int |
Bernardo Perez Priego | a31e6e8 | 2019-10-03 18:20:37 -0700 | [diff] [blame] | 83 | default 0 if BOARD_GOOGLE_DRALLION |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 84 | |
| 85 | config VARIANT_DIR |
Thejaswani Putta | 51d9d67 | 2019-08-15 13:31:36 -0700 | [diff] [blame] | 86 | default "drallion" if BOARD_GOOGLE_DRALLION |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 87 | |
| 88 | config DEVICETREE |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 89 | default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb" |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 90 | |
| 91 | config VBOOT |
| 92 | select HAS_RECOVERY_MRC_CACHE |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 93 | select VBOOT_LID_SWITCH |
| 94 | |
Matt DeVillier | 4afd091 | 2021-10-17 19:09:31 -0500 | [diff] [blame] | 95 | config FMDFILE |
| 96 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/default.fmd" if !CHROMEOS |
| 97 | |
Thejaswani Putta | e3443d8 | 2019-07-18 16:23:20 -0700 | [diff] [blame] | 98 | endif # BOARD_GOOGLE_BASEBOARD_DRALLION |