blob: cff56a4156f742ec6d0d4dcf9652e62d1bf4c98d [file] [log] [blame]
Thejaswani Puttae3443d82019-07-18 16:23:20 -07001
2config BOARD_GOOGLE_BASEBOARD_DRALLION
3 def_bool n
4 select BOARD_ROMSIZE_KB_32768
5 select DRIVERS_I2C_GENERIC
6 select DRIVERS_I2C_HID
7 select DRIVERS_INTEL_ISH
8 select DRIVERS_SPI_ACPI
9 select DRIVERS_USB_ACPI
10 select EC_GOOGLE_WILCO
11 select GENERIC_SPD_BIN
12 select GOOGLE_SMBIOS_MAINBOARD_VERSION
13 select HAVE_ACPI_RESUME
14 select HAVE_ACPI_TABLES
15 select INTEL_LPSS_UART_FOR_CONSOLE
16 select MAINBOARD_HAS_CHROMEOS
17 select MAINBOARD_HAS_I2C_TPM_CR50
18 select MAINBOARD_HAS_TPM2
19 select SOC_INTEL_COMETLAKE
20 select SOC_INTEL_COMMON_BLOCK_HDA_VERB
21 select SOC_INTEL_COMMON_BLOCK_SMM_ESPI_DISABLE
22 select SPD_READ_BY_WORD
23 select SYSTEM_TYPE_LAPTOP
24 select TPM2
25 select MAINBOARD_USES_IFD_EC_REGION
26 select MAINBOARD_USES_IFD_GBE_REGION
27 select USE_SAR
28 select SAR_ENABLE
29
30if BOARD_GOOGLE_BASEBOARD_DRALLION
31
32config CHROMEOS
33 bool
34 default y
35 select GBB_FLAG_FORCE_DEV_SWITCH_ON
36 select GBB_FLAG_FORCE_DEV_BOOT_USB
37 select GBB_FLAG_FORCE_DEV_BOOT_LEGACY
38 select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
39
40config DIMM_MAX
41 int
42 default 2
43
44config DIMM_SPD_SIZE
45 int
46 default 512
47
48config DRIVER_TPM_I2C_BUS
49 hex
50 default 0x4
51
52config DRIVER_TPM_I2C_ADDR
53 hex
54 default 0x50
55
56config TPM_TIS_ACPI_INTERRUPT
57 int
58 default 82 # GPE0_DW2_18 (GPP_D18)
59
60config POWER_OFF_ON_CR50_UPDATE
61 bool
62 default n
63
64config GBB_HWID
65 string
66 depends on CHROMEOS
67 default "DRALLION TEST 3556"
68
69config MAINBOARD_DIR
70 string
71 default "google/drallion"
72
73config MAINBOARD_FAMILY
74 string
Thejaswani Putta51d9d672019-08-15 13:31:36 -070075 default "Google_Arcada_cml" if BOARD_GOOGLE_ARCADA_CML
76 default "Google_Sarien_cml" if BOARD_GOOGLE_SARIEN_CML
77 default "Google_Drallion" if BOARD_GOOGLE_DRALLION
Thejaswani Puttae3443d82019-07-18 16:23:20 -070078
79config MAINBOARD_PART_NUMBER
80 string
Thejaswani Putta51d9d672019-08-15 13:31:36 -070081 default "Arcada_cml" if BOARD_GOOGLE_ARCADA_CML
82 default "Sarien_cml" if BOARD_GOOGLE_SARIEN_CML
83 default "Drallion" if BOARD_GOOGLE_DRALLION
Thejaswani Puttae3443d82019-07-18 16:23:20 -070084
85config MAINBOARD_VENDOR
86 string
87 default "Google"
88
89config MAX_CPUS
90 int
91 default 8
92
93config UART_FOR_CONSOLE
94 int
95 default 2
96
97config VARIANT_DIR
98 string
Thejaswani Putta51d9d672019-08-15 13:31:36 -070099 default "arcada_cml" if BOARD_GOOGLE_ARCADA_CML
100 default "sarien_cml" if BOARD_GOOGLE_SARIEN_CML
101 default "drallion" if BOARD_GOOGLE_DRALLION
Thejaswani Puttae3443d82019-07-18 16:23:20 -0700102
103config DEVICETREE
104 string
105 default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
106
107config VBOOT
108 select HAS_RECOVERY_MRC_CACHE
109 select MRC_CLEAR_NORMAL_CACHE_ON_RECOVERY_RETRAIN
110 select VBOOT_LID_SWITCH
111
112endif # BOARD_GOOGLE_BASEBOARD_DRALLION