Martin Roth | 41a8997 | 2024-02-16 10:57:31 -0700 | [diff] [blame^] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Matt DeVillier | 45b1da3 | 2022-09-07 17:21:01 -0500 | [diff] [blame] | 3 | config BOARD_GOOGLE_BASEBOARD_PUFF |
| 4 | def_bool n |
| 5 | select BOARD_ROMSIZE_KB_16384 if !BOARD_ROMSIZE_KB_32768 |
Matt DeVillier | 1d87638 | 2023-01-17 12:25:45 -0600 | [diff] [blame] | 6 | select DRIVERS_AUDIO_SOF |
Matt DeVillier | 45b1da3 | 2022-09-07 17:21:01 -0500 | [diff] [blame] | 7 | select DRIVERS_GENERIC_GPIO_KEYS |
| 8 | select DRIVERS_GENERIC_MAX98357A |
| 9 | select DRIVERS_I2C_DA7219 |
| 10 | select DRIVERS_I2C_GENERIC |
| 11 | select DRIVERS_I2C_HID |
| 12 | select DRIVERS_I2C_SX9310 |
| 13 | select DRIVERS_INTEL_DPTF |
| 14 | select DRIVERS_SPI_ACPI |
| 15 | select DRIVERS_USB_ACPI |
| 16 | select EC_GOOGLE_CHROMEEC |
| 17 | select EC_GOOGLE_CHROMEEC_BOARDID |
| 18 | select EC_GOOGLE_CHROMEEC_ESPI |
| 19 | select EC_GOOGLE_CHROMEEC_I2C_TUNNEL |
| 20 | select EC_GOOGLE_CHROMEEC_SKUID |
| 21 | select FW_CONFIG |
| 22 | select FW_CONFIG_SOURCE_CHROMEEC_CBI |
| 23 | select GOOGLE_SMBIOS_MAINBOARD_VERSION |
| 24 | select HAVE_ACPI_RESUME |
| 25 | select HAVE_ACPI_TABLES |
| 26 | select INTEL_LPSS_UART_FOR_CONSOLE |
| 27 | select MAINBOARD_HAS_CHROMEOS |
| 28 | select MAINBOARD_HAS_TPM2 |
| 29 | select MB_HAS_ACTIVE_HIGH_SD_PWR_ENABLE |
| 30 | select RT8168_GEN_ACPI_POWER_RESOURCE |
| 31 | select RT8168_GET_MAC_FROM_VPD |
| 32 | select RT8168_SET_LED_MODE |
| 33 | select SOC_INTEL_COMETLAKE_1 |
| 34 | select SOC_INTEL_COMMON_BLOCK_DTT |
| 35 | select SOC_INTEL_CSE_LITE_SKU |
| 36 | select SPD_CACHE_IN_FMAP |
| 37 | select SPD_READ_BY_WORD |
| 38 | select SPI_TPM |
| 39 | select TPM_GOOGLE_CR50 |
| 40 | |
| 41 | config BOARD_GOOGLE_AMBASSADOR |
| 42 | select BOARD_GOOGLE_BASEBOARD_PUFF |
Matt DeVillier | 8f6a700 | 2023-09-20 11:52:49 -0500 | [diff] [blame] | 43 | select INTEL_GMA_HAVE_VBT |
Matt DeVillier | 45b1da3 | 2022-09-07 17:21:01 -0500 | [diff] [blame] | 44 | |
| 45 | config BOARD_GOOGLE_DOOLY |
| 46 | select BOARD_GOOGLE_BASEBOARD_PUFF |
| 47 | select INTEL_GMA_HAVE_VBT |
| 48 | |
| 49 | config BOARD_GOOGLE_DUFFY_LEGACY |
| 50 | select BOARD_GOOGLE_BASEBOARD_PUFF |
| 51 | select BOARD_ROMSIZE_KB_32768 |
| 52 | select INTEL_GMA_HAVE_VBT |
| 53 | |
| 54 | config BOARD_GOOGLE_DUFFY |
| 55 | select BOARD_GOOGLE_BASEBOARD_PUFF |
| 56 | select INTEL_GMA_HAVE_VBT |
| 57 | |
| 58 | config BOARD_GOOGLE_FAFFY |
| 59 | select BOARD_GOOGLE_BASEBOARD_PUFF |
| 60 | select INTEL_GMA_HAVE_VBT |
| 61 | |
| 62 | config BOARD_GOOGLE_GENESIS |
| 63 | select BOARD_GOOGLE_BASEBOARD_PUFF |
Matt DeVillier | d4aef2b | 2023-09-20 14:53:47 -0500 | [diff] [blame] | 64 | select INTEL_GMA_HAVE_VBT |
Matt DeVillier | 45b1da3 | 2022-09-07 17:21:01 -0500 | [diff] [blame] | 65 | |
| 66 | config BOARD_GOOGLE_KAISA_LEGACY |
| 67 | select BOARD_GOOGLE_BASEBOARD_PUFF |
| 68 | select BOARD_ROMSIZE_KB_32768 |
| 69 | select INTEL_GMA_HAVE_VBT |
| 70 | |
| 71 | config BOARD_GOOGLE_KAISA |
| 72 | select BOARD_GOOGLE_BASEBOARD_PUFF |
| 73 | select INTEL_GMA_HAVE_VBT |
| 74 | |
| 75 | config BOARD_GOOGLE_MOONBUGGY |
| 76 | select BOARD_GOOGLE_BASEBOARD_PUFF |
| 77 | |
| 78 | config BOARD_GOOGLE_NOIBAT |
| 79 | select BOARD_GOOGLE_BASEBOARD_PUFF |
| 80 | select INTEL_GMA_HAVE_VBT |
| 81 | |
| 82 | config BOARD_GOOGLE_PUFF |
| 83 | select BOARD_GOOGLE_BASEBOARD_PUFF |
| 84 | select BOARD_ROMSIZE_KB_32768 |
| 85 | select INTEL_GMA_HAVE_VBT |
| 86 | |
| 87 | config BOARD_GOOGLE_SCOUT |
| 88 | select BOARD_GOOGLE_BASEBOARD_PUFF |
| 89 | |
| 90 | config BOARD_GOOGLE_WYVERN |
| 91 | select BOARD_GOOGLE_BASEBOARD_PUFF |
| 92 | select INTEL_GMA_HAVE_VBT |
| 93 | |
| 94 | if BOARD_GOOGLE_BASEBOARD_PUFF |
| 95 | |
| 96 | config CHROMEOS |
| 97 | select EC_GOOGLE_CHROMEEC_SWITCHES |
| 98 | select GBB_FLAG_FORCE_DEV_BOOT_ALTFW |
| 99 | select GBB_FLAG_FORCE_DEV_BOOT_USB |
| 100 | select GBB_FLAG_FORCE_DEV_SWITCH_ON |
| 101 | select GBB_FLAG_FORCE_MANUAL_RECOVERY |
| 102 | select HAS_RECOVERY_MRC_CACHE |
| 103 | select VBOOT_LID_SWITCH |
| 104 | select CHROMEOS_CSE_BOARD_RESET_OVERRIDE |
| 105 | |
| 106 | config CHROMEOS_WIFI_SAR |
| 107 | bool "Enable SAR options for ChromeOS build" |
| 108 | depends on CHROMEOS |
| 109 | select DSAR_ENABLE |
| 110 | select GEO_SAR_ENABLE |
| 111 | select SAR_ENABLE |
| 112 | select USE_SAR |
| 113 | |
| 114 | config DEVICETREE |
| 115 | default "variants/baseboard/devicetree.cb" |
| 116 | |
| 117 | config DIMM_MAX |
| 118 | default 2 |
| 119 | |
| 120 | config DRIVER_TPM_SPI_BUS |
| 121 | default 0x1 |
| 122 | |
| 123 | config UART_FOR_CONSOLE |
| 124 | default 0 |
| 125 | |
| 126 | config FMDFILE |
| 127 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-16MiB.fmd" if BOARD_ROMSIZE_KB_16384 && CHROMEOS |
| 128 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-32MiB.fmd" if BOARD_ROMSIZE_KB_32768 && CHROMEOS |
| 129 | |
| 130 | config POWER_OFF_ON_CR50_UPDATE |
| 131 | bool |
| 132 | default n |
| 133 | |
| 134 | config MAINBOARD_DIR |
| 135 | default "google/puff" |
| 136 | |
| 137 | config MAINBOARD_FAMILY |
| 138 | string |
| 139 | default "Google_Puff" |
| 140 | |
| 141 | config MAINBOARD_PART_NUMBER |
| 142 | default "Ambassador" if BOARD_GOOGLE_AMBASSADOR |
| 143 | default "Dooly" if BOARD_GOOGLE_DOOLY |
| 144 | default "Duffy" if BOARD_GOOGLE_DUFFY |
| 145 | default "Duffy" if BOARD_GOOGLE_DUFFY_LEGACY |
| 146 | default "Faffy" if BOARD_GOOGLE_FAFFY |
| 147 | default "Genesis" if BOARD_GOOGLE_GENESIS |
| 148 | default "Kaisa" if BOARD_GOOGLE_KAISA |
| 149 | default "Kaisa" if BOARD_GOOGLE_KAISA_LEGACY |
| 150 | default "Moonbuggy" if BOARD_GOOGLE_MOONBUGGY |
| 151 | default "Noibat" if BOARD_GOOGLE_NOIBAT |
| 152 | default "Puff" if BOARD_GOOGLE_PUFF |
| 153 | default "Scout" if BOARD_GOOGLE_SCOUT |
| 154 | default "Wyvern" if BOARD_GOOGLE_WYVERN |
| 155 | |
| 156 | config OVERRIDE_DEVICETREE |
| 157 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 158 | |
| 159 | config TPM_TIS_ACPI_INTERRUPT |
| 160 | int |
| 161 | default 53 # GPE0_DW1_21 (GPP_C21) |
| 162 | |
| 163 | config VARIANT_DIR |
| 164 | default "ambassador" if BOARD_GOOGLE_AMBASSADOR |
| 165 | default "dooly" if BOARD_GOOGLE_DOOLY |
| 166 | default "duffy" if BOARD_GOOGLE_DUFFY |
| 167 | default "duffy" if BOARD_GOOGLE_DUFFY_LEGACY |
| 168 | default "faffy" if BOARD_GOOGLE_FAFFY |
| 169 | default "genesis" if BOARD_GOOGLE_GENESIS |
| 170 | default "kaisa" if BOARD_GOOGLE_KAISA |
| 171 | default "kaisa" if BOARD_GOOGLE_KAISA_LEGACY |
| 172 | default "moonbuggy" if BOARD_GOOGLE_MOONBUGGY |
| 173 | default "noibat" if BOARD_GOOGLE_NOIBAT |
| 174 | default "puff" if BOARD_GOOGLE_PUFF |
| 175 | default "scout" if BOARD_GOOGLE_SCOUT |
| 176 | default "wyvern" if BOARD_GOOGLE_WYVERN |
| 177 | |
| 178 | config VBOOT |
| 179 | select HAS_RECOVERY_MRC_CACHE |
| 180 | select VBOOT_EARLY_EC_SYNC |
| 181 | |
| 182 | config USE_PM_ACPI_TIMER |
| 183 | default n |
| 184 | |
| 185 | config EDK2_BOOT_TIMEOUT |
| 186 | int |
| 187 | default 5 |
| 188 | |
| 189 | endif # BOARD_GOOGLE_BASEBOARD_PUFF |