Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 1 | config BOARD_GOOGLE_BASEBOARD_VOLTEER |
| 2 | def_bool n |
| 3 | select BOARD_ROMSIZE_KB_32768 |
Alex Levin | ff1c5be | 2020-07-23 11:55:12 -0700 | [diff] [blame] | 4 | select DRIVERS_GENERIC_GPIO_KEYS |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 5 | select DRIVERS_GENERIC_MAX98357A |
Wisley Chen | e928391 | 2020-10-31 01:24:43 +0800 | [diff] [blame] | 6 | select DRIVERS_GENESYSLOGIC_GL9763E |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 7 | select DRIVERS_I2C_GENERIC |
Alex Levin | 34d9e68 | 2020-04-20 21:55:24 -0700 | [diff] [blame] | 8 | select DRIVERS_I2C_HID |
Duncan Laurie | 45761c5 | 2020-05-25 18:32:33 -0700 | [diff] [blame] | 9 | select DRIVERS_I2C_SX9310 |
Tim Wawrzynczak | 07ac2ec | 2020-05-29 15:58:19 -0600 | [diff] [blame] | 10 | select DRIVERS_INTEL_DPTF |
Tim Wawrzynczak | 90e683b | 2020-05-14 14:36:25 -0600 | [diff] [blame] | 11 | select DRIVERS_INTEL_PMC |
Duncan Laurie | 5b6ec3e | 2020-08-28 19:50:09 +0000 | [diff] [blame] | 12 | select DRIVERS_INTEL_USB4_RETIMER |
Duncan Laurie | 4dffa9c | 2020-05-10 11:20:20 -0700 | [diff] [blame] | 13 | select DRIVERS_I2C_MAX98373 |
Duncan Laurie | da8f507 | 2020-04-29 16:11:45 -0700 | [diff] [blame] | 14 | select DRIVERS_INTEL_SOUNDWIRE |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 15 | select DRIVERS_SPI_ACPI |
Duncan Laurie | da8f507 | 2020-04-29 16:11:45 -0700 | [diff] [blame] | 16 | select DRIVERS_SOUNDWIRE_ALC5682 |
| 17 | select DRIVERS_SOUNDWIRE_MAX98373 |
Ricardo Ribalda | 2b13ca5 | 2020-10-29 15:00:26 +0100 | [diff] [blame] | 18 | select DRIVERS_USB_ACPI |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 19 | select EC_GOOGLE_CHROMEEC |
| 20 | select EC_GOOGLE_CHROMEEC_BOARDID |
Edward O'Callaghan | 2f55726 | 2020-02-21 15:14:17 +1100 | [diff] [blame] | 21 | select EC_GOOGLE_CHROMEEC_SKUID |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 22 | select EC_GOOGLE_CHROMEEC_LPC |
Duncan Laurie | 9db8c25 | 2020-05-10 11:16:45 -0700 | [diff] [blame] | 23 | select FW_CONFIG |
| 24 | select FW_CONFIG_SOURCE_CHROMEEC_CBI |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 25 | select HAVE_ACPI_RESUME |
| 26 | select HAVE_ACPI_TABLES |
| 27 | select INTEL_LPSS_UART_FOR_CONSOLE |
| 28 | select MAINBOARD_HAS_CHROMEOS |
Jes Klinke | fbb5683 | 2020-10-14 16:25:47 -0700 | [diff] [blame] | 29 | select MAINBOARD_HAS_SPI_TPM_CR50 if !BOARD_GOOGLE_VOLTEER2_TI50 |
| 30 | select MAINBOARD_HAS_I2C_TPM_CR50 if BOARD_GOOGLE_VOLTEER2_TI50 |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 31 | select MAINBOARD_HAS_TPM2 |
Furquan Shaikh | 918ee62 | 2020-05-15 17:37:07 -0700 | [diff] [blame] | 32 | select PCIEXP_HOTPLUG |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 33 | select SOC_INTEL_TIGERLAKE |
Michael Niewöhner | 87cc889 | 2020-09-07 14:26:09 +0200 | [diff] [blame] | 34 | select HAVE_SPD_IN_CBFS |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 35 | |
| 36 | if BOARD_GOOGLE_BASEBOARD_VOLTEER |
| 37 | |
| 38 | config CHROMEOS |
| 39 | bool |
| 40 | default y |
Tim Wawrzynczak | 14025bd | 2020-08-21 13:43:59 -0600 | [diff] [blame] | 41 | select CHROMEOS_CSE_BOARD_RESET_OVERRIDE if SOC_INTEL_CSE_LITE_SKU |
Nick Vaccaro | be34b50 | 2020-09-30 15:43:41 -0700 | [diff] [blame] | 42 | select CHROMEOS_DRAM_PART_NUMBER_IN_CBI |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 43 | select EC_GOOGLE_CHROMEEC_SWITCHES |
| 44 | select GBB_FLAG_FORCE_DEV_SWITCH_ON |
| 45 | select GBB_FLAG_FORCE_DEV_BOOT_USB |
| 46 | select GBB_FLAG_FORCE_DEV_BOOT_LEGACY |
| 47 | select GBB_FLAG_FORCE_MANUAL_RECOVERY |
| 48 | select HAS_RECOVERY_MRC_CACHE |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 49 | select VBOOT_LID_SWITCH |
Caveh Jalali | b990704 | 2020-05-05 20:47:21 -0700 | [diff] [blame] | 50 | select VBOOT_EARLY_EC_SYNC |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 51 | |
Malik_Hsu | 8ad2b8b | 2020-09-10 16:46:46 +0800 | [diff] [blame] | 52 | config CHROMEOS_WIFI_SAR |
| 53 | bool "Enable SAR options for Chrome OS build" |
| 54 | depends on CHROMEOS |
| 55 | select DSAR_ENABLE |
| 56 | select GEO_SAR_ENABLE |
| 57 | select SAR_ENABLE |
| 58 | select USE_SAR |
| 59 | select WIFI_SAR_CBFS |
| 60 | |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 61 | config DIMM_SPD_SIZE |
| 62 | int |
| 63 | default 512 |
| 64 | |
| 65 | config DEVICETREE |
| 66 | string |
| 67 | default "variants/baseboard/devicetree.cb" |
| 68 | |
| 69 | config OVERRIDE_DEVICETREE |
| 70 | string |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 71 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 72 | |
| 73 | config DRIVER_TPM_SPI_BUS |
| 74 | default 0x1 |
| 75 | |
Jes Klinke | fbb5683 | 2020-10-14 16:25:47 -0700 | [diff] [blame] | 76 | config DRIVER_TPM_I2C_BUS |
| 77 | hex |
| 78 | default 0x1 |
| 79 | |
| 80 | config DRIVER_TPM_I2C_ADDR |
| 81 | hex |
| 82 | default 0x50 |
| 83 | |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 84 | config MAINBOARD_DIR |
| 85 | string |
| 86 | default "google/volteer" |
| 87 | |
| 88 | config MAINBOARD_FAMILY |
| 89 | string |
Nick Vaccaro | 44fc40e | 2020-03-04 16:43:22 -0800 | [diff] [blame] | 90 | default "Google_Volteer" |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 91 | |
| 92 | config MAINBOARD_PART_NUMBER |
| 93 | string |
YH Lin | 32c5057 | 2020-07-24 17:39:16 -0700 | [diff] [blame] | 94 | default "Delbin" if BOARD_GOOGLE_DELBIN |
| 95 | default "Eldrid" if BOARD_GOOGLE_ELDRID |
Frank Wu | bc83738 | 2020-03-13 16:41:10 +0800 | [diff] [blame] | 96 | default "Halvor" if BOARD_GOOGLE_HALVOR |
Julia Tsai | 1d68d6d | 2020-07-31 14:35:03 +0800 | [diff] [blame] | 97 | default "Lindar" if BOARD_GOOGLE_LINDAR |
William Wei | da1b088 | 2020-03-26 14:18:53 +0800 | [diff] [blame] | 98 | default "Malefor" if BOARD_GOOGLE_MALEFOR |
David Wu | b4ab1e7 | 2020-05-26 15:28:09 +0800 | [diff] [blame] | 99 | default "Terrador" if BOARD_GOOGLE_TERRADOR |
YH Lin | 32c5057 | 2020-07-24 17:39:16 -0700 | [diff] [blame] | 100 | default "Todor" if BOARD_GOOGLE_TODOR |
David Wu | 4cea00a | 2020-04-24 16:13:07 +0800 | [diff] [blame] | 101 | default "Trondo" if BOARD_GOOGLE_TRONDO |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 102 | default "Volteer" if BOARD_GOOGLE_VOLTEER |
Nick Vaccaro | fbb0232 | 2020-06-19 17:57:00 -0700 | [diff] [blame] | 103 | default "Volteer2" if BOARD_GOOGLE_VOLTEER2 |
Jes Klinke | fbb5683 | 2020-10-14 16:25:47 -0700 | [diff] [blame] | 104 | default "Volteer2_Ti50" if BOARD_GOOGLE_VOLTEER2_TI50 |
David Wu | fba0ad8 | 2020-06-01 19:45:54 +0800 | [diff] [blame] | 105 | default "Voxel" if BOARD_GOOGLE_VOXEL |
Ronak Kanabar | e60155f | 2020-09-23 16:37:21 +0530 | [diff] [blame] | 106 | default "Boldar" if BOARD_GOOGLE_BOLDAR |
Wisley Chen | 4744ca7 | 2020-10-12 17:58:45 +0800 | [diff] [blame] | 107 | default "Elemi" if BOARD_GOOGLE_ELEMI |
David Wu | 397b46c | 2020-10-30 09:30:28 +0800 | [diff] [blame] | 108 | default "Voema" if BOARD_GOOGLE_VOEMA |
Frank Chu | de2ba63 | 2020-11-20 14:59:27 +0800 | [diff] [blame^] | 109 | default "Drobit" if BOARD_GOOGLE_DROBIT |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 110 | |
| 111 | config MAX_CPUS |
| 112 | int |
| 113 | default 8 |
| 114 | |
Furquan Shaikh | 918ee62 | 2020-05-15 17:37:07 -0700 | [diff] [blame] | 115 | # Reserving resources for PCIe Hotplug as per TGL BIOS Spec (doc #611569) |
| 116 | # Revision 0.7.6 Section 7.2.5.1.5 |
| 117 | config PCIEXP_HOTPLUG_BUSES |
| 118 | int |
| 119 | default 42 |
| 120 | |
| 121 | config PCIEXP_HOTPLUG_MEM |
| 122 | hex |
| 123 | default 0xc200000 # 194 MiB |
| 124 | |
| 125 | config PCIEXP_HOTPLUG_PREFETCH_MEM |
| 126 | hex |
| 127 | default 0x1c000000 # 448 MiB |
| 128 | |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 129 | config TPM_TIS_ACPI_INTERRUPT |
| 130 | int |
| 131 | default 21 # GPE0_DW0_21 (GPP_C21) |
| 132 | |
| 133 | config VARIANT_DIR |
| 134 | string |
YH Lin | 32c5057 | 2020-07-24 17:39:16 -0700 | [diff] [blame] | 135 | default "delbin" if BOARD_GOOGLE_DELBIN |
| 136 | default "eldrid" if BOARD_GOOGLE_ELDRID |
Frank Wu | bc83738 | 2020-03-13 16:41:10 +0800 | [diff] [blame] | 137 | default "halvor" if BOARD_GOOGLE_HALVOR |
Julia Tsai | 1d68d6d | 2020-07-31 14:35:03 +0800 | [diff] [blame] | 138 | default "lindar" if BOARD_GOOGLE_LINDAR |
William Wei | da1b088 | 2020-03-26 14:18:53 +0800 | [diff] [blame] | 139 | default "malefor" if BOARD_GOOGLE_MALEFOR |
David Wu | b4ab1e7 | 2020-05-26 15:28:09 +0800 | [diff] [blame] | 140 | default "terrador" if BOARD_GOOGLE_TERRADOR |
YH Lin | 32c5057 | 2020-07-24 17:39:16 -0700 | [diff] [blame] | 141 | default "todor" if BOARD_GOOGLE_TODOR |
David Wu | 4cea00a | 2020-04-24 16:13:07 +0800 | [diff] [blame] | 142 | default "trondo" if BOARD_GOOGLE_TRONDO |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 143 | default "volteer" if BOARD_GOOGLE_VOLTEER |
Nick Vaccaro | fbb0232 | 2020-06-19 17:57:00 -0700 | [diff] [blame] | 144 | default "volteer2" if BOARD_GOOGLE_VOLTEER2 |
Jes Klinke | fbb5683 | 2020-10-14 16:25:47 -0700 | [diff] [blame] | 145 | default "volteer2" if BOARD_GOOGLE_VOLTEER2_TI50 |
David Wu | fba0ad8 | 2020-06-01 19:45:54 +0800 | [diff] [blame] | 146 | default "voxel" if BOARD_GOOGLE_VOXEL |
Ronak Kanabar | e60155f | 2020-09-23 16:37:21 +0530 | [diff] [blame] | 147 | default "boldar" if BOARD_GOOGLE_BOLDAR |
Wisley Chen | 4744ca7 | 2020-10-12 17:58:45 +0800 | [diff] [blame] | 148 | default "elemi" if BOARD_GOOGLE_ELEMI |
David Wu | 397b46c | 2020-10-30 09:30:28 +0800 | [diff] [blame] | 149 | default "voema" if BOARD_GOOGLE_VOEMA |
Frank Chu | de2ba63 | 2020-11-20 14:59:27 +0800 | [diff] [blame^] | 150 | default "drobit" if BOARD_GOOGLE_DROBIT |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 151 | |
Nick Vaccaro | c97bb64 | 2020-04-21 12:51:37 -0700 | [diff] [blame] | 152 | config VARIANT_HAS_MIPI_CAMERA |
| 153 | bool |
| 154 | default n |
| 155 | |
Nick Vaccaro | f978191 | 2020-01-28 18:43:28 -0800 | [diff] [blame] | 156 | endif # BOARD_GOOGLE_BASEBOARD_VOLTEER |