Bora Guvendik | 3a1a037 | 2020-03-09 18:20:07 -0700 | [diff] [blame] | 1 | config BOARD_GOOGLE_BASEBOARD_DELTAUR |
| 2 | def_bool n |
| 3 | select BOARD_ROMSIZE_KB_32768 |
| 4 | select DRIVERS_I2C_GENERIC |
| 5 | select DRIVERS_INTEL_ISH |
| 6 | select DRIVERS_SPI_ACPI |
Tim Wawrzynczak | 654d9d6 | 2020-03-19 13:56:21 -0600 | [diff] [blame] | 7 | select DRIVERS_USB_ACPI |
Bora Guvendik | 3a1a037 | 2020-03-09 18:20:07 -0700 | [diff] [blame] | 8 | select EC_GOOGLE_WILCO |
| 9 | select HAVE_ACPI_RESUME |
| 10 | select HAVE_ACPI_TABLES |
| 11 | select INTEL_LPSS_UART_FOR_CONSOLE |
| 12 | select MAINBOARD_HAS_CHROMEOS |
| 13 | select MAINBOARD_HAS_I2C_TPM_CR50 |
| 14 | select MAINBOARD_HAS_TPM2 |
| 15 | select MAINBOARD_USES_IFD_EC_REGION |
| 16 | select SOC_INTEL_TIGERLAKE |
| 17 | select SYSTEM_TYPE_LAPTOP |
Varun Joshi | 2255eba | 2020-03-31 18:02:33 -0700 | [diff] [blame^] | 18 | select MAINBOARD_USES_IFD_GBE_REGION if BOARD_GOOGLE_DELTAN |
Bora Guvendik | 3a1a037 | 2020-03-09 18:20:07 -0700 | [diff] [blame] | 19 | |
| 20 | if BOARD_GOOGLE_BASEBOARD_DELTAUR |
| 21 | |
| 22 | config CHROMEOS |
| 23 | bool |
| 24 | default y |
| 25 | select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC |
| 26 | select GBB_FLAG_FORCE_DEV_SWITCH_ON |
| 27 | select GBB_FLAG_FORCE_DEV_BOOT_USB |
| 28 | select GBB_FLAG_FORCE_DEV_BOOT_LEGACY |
| 29 | |
| 30 | config DIMM_SPD_SIZE |
| 31 | int |
| 32 | default 512 |
| 33 | |
| 34 | config DEVICETREE |
| 35 | string |
| 36 | default "variants/baseboard/devicetree.cb" |
| 37 | |
| 38 | config DRIVER_TPM_I2C_BUS |
| 39 | hex |
| 40 | default 0x3 |
| 41 | |
| 42 | config DRIVER_TPM_I2C_ADDR |
| 43 | hex |
| 44 | default 0x50 |
| 45 | |
| 46 | config OVERRIDE_DEVICETREE |
| 47 | string |
| 48 | default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 49 | |
| 50 | config MAINBOARD_DIR |
| 51 | string |
| 52 | default "google/deltaur" |
| 53 | |
| 54 | config MAINBOARD_FAMILY |
| 55 | string |
| 56 | default "Google_Deltaur" |
| 57 | |
| 58 | config MAINBOARD_PART_NUMBER |
| 59 | string |
| 60 | default "Deltan" if BOARD_GOOGLE_DELTAN |
| 61 | default "Deltaur" if BOARD_GOOGLE_DELTAUR |
| 62 | |
| 63 | config MAX_CPUS |
| 64 | int |
| 65 | default 8 |
| 66 | |
| 67 | config TPM_TIS_ACPI_INTERRUPT |
| 68 | int |
| 69 | default 23 # GPE0_DW0_23 (GPP_C23) |
| 70 | |
| 71 | config UART_FOR_CONSOLE |
| 72 | int |
| 73 | default 2 |
| 74 | |
| 75 | config VARIANT_DIR |
| 76 | string |
| 77 | default "deltan" if BOARD_GOOGLE_DELTAN |
| 78 | default "deltaur" if BOARD_GOOGLE_DELTAUR |
| 79 | |
| 80 | config VBOOT |
| 81 | select HAS_RECOVERY_MRC_CACHE |
| 82 | select MRC_CLEAR_NORMAL_CACHE_ON_RECOVERY_RETRAIN |
| 83 | select VBOOT_LID_SWITCH |
| 84 | |
| 85 | endif # BOARD_GOOGLE_BASEBOARD_DELTAUR |