blob: bea7fd02844ef82558b8e53e182998223aaf6711 [file] [log] [blame]
Aaron Durbine065bb42016-05-10 15:09:44 -05001
Aaron Durbin4435a492016-09-01 16:11:52 -05002config BOARD_GOOGLE_BASEBOARD_REEF
3 def_bool n
Aaron Durbine065bb42016-05-10 15:09:44 -05004 select SOC_INTEL_APOLLOLAKE
Furquan Shaikh2c4a60d2016-06-14 17:28:51 -07005 select BOARD_ROMSIZE_KB_16384
Furquan Shaikh97535552017-02-17 20:25:46 -08006 select DRIVERS_GENERIC_MAX98357A
7 select DRIVERS_I2C_DA7219
8 select DRIVERS_I2C_GENERIC
9 select DRIVERS_I2C_HID
Furquan Shaikh97535552017-02-17 20:25:46 -080010 select DRIVERS_PS2_KEYBOARD
Aaron Durbine065bb42016-05-10 15:09:44 -050011 select EC_GOOGLE_CHROMEEC
Furquan Shaikha4ab6652017-09-25 08:06:56 -070012 select EC_GOOGLE_CHROMEEC_BOARDID
Aaron Durbine065bb42016-05-10 15:09:44 -050013 select EC_GOOGLE_CHROMEEC_LPC
14 select HAVE_ACPI_RESUME
15 select HAVE_ACPI_TABLES
Duncan Lauriec2875872016-09-01 16:00:05 -070016 select I2C_TPM
Aaron Durbine065bb42016-05-10 15:09:44 -050017 select MAINBOARD_HAS_CHROMEOS
Duncan Laurie401bd312016-09-19 17:24:55 -070018 select MAINBOARD_HAS_I2C_TPM_CR50
Duncan Lauriec2875872016-09-01 16:00:05 -070019 select TPM2
Aaron Durbin2c7ad8c2016-11-08 10:06:10 -060020 select GOOGLE_SMBIOS_MAINBOARD_VERSION
Wei-Ning Huangd06e06c2017-04-22 19:01:44 +080021 select DRIVERS_INTEL_WIFI
22 select USE_SAR
23 select SAR_ENABLE
24 select DSAR_ENABLE
Aaron Durbin4435a492016-09-01 16:11:52 -050025
26if BOARD_GOOGLE_BASEBOARD_REEF
27
28config BASEBOARD_REEF_LAPTOP
29 def_bool n
Aaron Durbine065bb42016-05-10 15:09:44 -050030 select SYSTEM_TYPE_LAPTOP
31
Duncan Lauriec2875872016-09-01 16:00:05 -070032config DRIVER_TPM_I2C_BUS
Martin Roth80fa9d82016-09-29 15:10:37 -060033 hex
34 default 0x2
Duncan Lauriec2875872016-09-01 16:00:05 -070035
36config DRIVER_TPM_I2C_ADDR
Martin Roth80fa9d82016-09-29 15:10:37 -060037 hex
38 default 0x50
Duncan Lauriec2875872016-09-01 16:00:05 -070039
Daniel Kurtzed644b12017-04-21 14:10:18 +080040config TPM_TIS_ACPI_INTERRUPT
41 int
42 default 60 # GPE0_DW1_28
43
Julius Werner58c39382017-02-13 17:53:29 -080044config VBOOT
Furquan Shaikhcd2afc02016-11-15 20:33:29 -080045 select EC_GOOGLE_CHROMEEC_SWITCHES
Furquan Shaikh12205892016-11-06 00:07:08 -070046 select HAS_RECOVERY_MRC_CACHE
Aaron Durbinf8bd1dd2016-12-14 15:41:45 -060047 select MRC_CLEAR_NORMAL_CACHE_ON_RECOVERY_RETRAIN
Julius Werner58c39382017-02-13 17:53:29 -080048 select VBOOT_LID_SWITCH if BASEBOARD_REEF_LAPTOP
Aaron Durbine065bb42016-05-10 15:09:44 -050049
50config MAINBOARD_DIR
51 string
52 default google/reef
53
Aaron Durbin114d7c32016-09-02 15:58:16 -050054config VARIANT_DIR
55 string
56 default "reef" if BOARD_GOOGLE_REEF
Kevin Chiu0b1a90d2016-10-03 17:15:15 +080057 default "pyro" if BOARD_GOOGLE_PYRO
YH Lind0966d82017-02-10 08:33:01 -080058 default "sand" if BOARD_GOOGLE_SAND
Wisley Chen084a3432016-10-17 18:30:54 +080059 default "snappy" if BOARD_GOOGLE_SNAPPY
YH Linf0637e72017-03-20 15:51:06 -070060 default "nasher" if BOARD_GOOGLE_NASHER
Patrick Georgib09933a2017-06-02 21:48:01 +020061 default "coral" if BOARD_GOOGLE_CORAL
Aaron Durbin114d7c32016-09-02 15:58:16 -050062
Aaron Durbine642b2d2016-09-06 15:58:00 -050063config DEVICETREE
64 string
Tim Chen1f3af892017-08-21 17:11:39 +080065 default "variants/coral/devicetree.cb" if BOARD_GOOGLE_CORAL
Kevin Chiu0b1a90d2016-10-03 17:15:15 +080066 default "variants/pyro/devicetree.cb" if BOARD_GOOGLE_PYRO
Katherine Hsieh674c0892017-03-09 17:18:50 +080067 default "variants/sand/devicetree.cb" if BOARD_GOOGLE_SAND
Wisley Chen084a3432016-10-17 18:30:54 +080068 default "variants/snappy/devicetree.cb" if BOARD_GOOGLE_SNAPPY
Aaron Durbine642b2d2016-09-06 15:58:00 -050069 default "variants/baseboard/devicetree.cb"
70
Aaron Durbine065bb42016-05-10 15:09:44 -050071config MAINBOARD_PART_NUMBER
72 string
Aaron Durbin4435a492016-09-01 16:11:52 -050073 default "Reef" if BOARD_GOOGLE_REEF
Kevin Chiu0b1a90d2016-10-03 17:15:15 +080074 default "Pyro" if BOARD_GOOGLE_PYRO
YH Lind0966d82017-02-10 08:33:01 -080075 default "Sand" if BOARD_GOOGLE_SAND
Wisley Chen084a3432016-10-17 18:30:54 +080076 default "Snappy" if BOARD_GOOGLE_SNAPPY
YH Linf0637e72017-03-20 15:51:06 -070077 default "Nasher" if BOARD_GOOGLE_NASHER
Patrick Georgib09933a2017-06-02 21:48:01 +020078 default "Coral" if BOARD_GOOGLE_CORAL
Aaron Durbine065bb42016-05-10 15:09:44 -050079
80config MAINBOARD_FAMILY
81 string
Harry Pan4a2cef42017-08-21 20:19:16 +080082 default "Google_Coral" if BOARD_GOOGLE_CORAL
Aaron Durbinc6452bb2016-09-29 09:54:46 -050083 default "Google_Reef"
Aaron Durbine065bb42016-05-10 15:09:44 -050084
Patrick Georgia4e71652016-08-18 11:22:28 +020085config GBB_HWID
86 string
87 depends on CHROMEOS
Aaron Durbin4435a492016-09-01 16:11:52 -050088 default "REEF TEST 3240" if BOARD_GOOGLE_REEF
Kevin Chiu0b1a90d2016-10-03 17:15:15 +080089 default "PYRO TEST 0290" if BOARD_GOOGLE_PYRO
YH Lind0966d82017-02-10 08:33:01 -080090 default "SAND TEST 1904" if BOARD_GOOGLE_SAND
Wisley Chen084a3432016-10-17 18:30:54 +080091 default "SNAPPY TEST 1088" if BOARD_GOOGLE_SNAPPY
YH Linf0637e72017-03-20 15:51:06 -070092 default "NASHER TEST 4258" if BOARD_GOOGLE_NASHER
Patrick Georgib09933a2017-06-02 21:48:01 +020093 default "CORAL TEST 8594" if BOARD_GOOGLE_CORAL
Patrick Georgia4e71652016-08-18 11:22:28 +020094
Aaron Durbine065bb42016-05-10 15:09:44 -050095config MAX_CPUS
96 int
97 default 8
98
Furquan Shaikhab90f962016-05-31 23:38:26 -070099config UART_FOR_CONSOLE
100 int
101 default 2
102
Saurabh Satijaaf9f35a2016-06-26 18:25:34 -0700103config INCLUDE_NHLT_BLOBS
104 bool "Include blobs for audio."
Sathyanarayana Nujellab7d44df2016-10-26 17:35:39 -0700105 select NHLT_DMIC_4CH_16B
Saurabh Satijaaf9f35a2016-06-26 18:25:34 -0700106 select NHLT_DA7219
107 select NHLT_MAX98357
108
Aaron Durbin7c7a4772017-03-08 11:15:31 -0600109config PRERAM_CBMEM_CONSOLE_SIZE
110 hex
111 default 0xe00 if CHROMEOS
112 default 0xc00
113
Aaron Durbine065bb42016-05-10 15:09:44 -0500114endif # BOARD_GOOGLE_REEF