blob: 920b446aadf6437e9d9a7ff6732036533686ac80 [file] [log] [blame]
Hannah Williamsd59f62b2017-05-05 16:39:21 -07001
2config BOARD_INTEL_BASEBOARD_GLKRVP
3 def_bool n
4 select SOC_INTEL_GLK
5 select BOARD_ROMSIZE_KB_16384
6 select DRIVERS_I2C_GENERIC
Shaunak Sahaced08642017-11-29 00:19:54 -08007 select DRIVERS_I2C_HID
Hannah Williamsd59f62b2017-05-05 16:39:21 -07008 select HAVE_ACPI_RESUME
9 select HAVE_ACPI_TABLES
Lijian Zhao64925b52019-01-11 07:54:48 -080010 select INTEL_LPSS_UART_FOR_CONSOLE
Hannah Williamsd59f62b2017-05-05 16:39:21 -070011 select MAINBOARD_HAS_CHROMEOS
12 select MAINBOARD_HAS_LPC_TPM
Hannah Williams7427abc2017-06-20 14:31:44 -070013 select DRIVERS_GENERIC_MAX98357A
14 select DRIVERS_I2C_DA7219
Shaunak Sahac96a4f62017-11-28 23:09:24 -080015 select SOC_ESPI
Hannah Williamsd59f62b2017-05-05 16:39:21 -070016
17if BOARD_INTEL_BASEBOARD_GLKRVP
18
19config BASEBOARD_GLKRVP_LAPTOP
20 def_bool n
21 select SYSTEM_TYPE_LAPTOP
22
Nico Huber845a96d2019-01-01 21:54:18 +010023choice
Hannah Williamsd59f62b2017-05-05 16:39:21 -070024 prompt "ON BOARD EC"
25 default GLK_CHROME_EC
26 help
27 This option allows you to select the on board EC to use.
28 Select whether the board has Intel EC or Chrome EC
29
30config GLK_CHROME_EC
31 bool "Chrome EC"
32 select EC_GOOGLE_CHROMEEC
33 select EC_GOOGLE_CHROMEEC_LPC
34
35config GLK_INTEL_EC
36 bool "Intel EC"
37 select EC_ACPI
38endchoice
39
40config CHROMEOS
41 bool
42 default y
43 select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
Naresh G Solanki7b1b2462018-04-02 21:38:57 +053044 select VBOOT_LID_SWITCH if GLK_CHROME_EC
Hannah Williamsd59f62b2017-05-05 16:39:21 -070045
Srinidhi N Kaushikf9bd2c52018-01-02 15:54:44 -080046config VBOOT
47 select HAS_RECOVERY_MRC_CACHE
48 select MRC_CLEAR_NORMAL_CACHE_ON_RECOVERY_RETRAIN
Naresh G Solanki7b1b2462018-04-02 21:38:57 +053049 select EC_GOOGLE_CHROMEEC_SWITCHES if GLK_CHROME_EC
Srinidhi N Kaushikf9bd2c52018-01-02 15:54:44 -080050
Hannah Williamsd59f62b2017-05-05 16:39:21 -070051config MAINBOARD_DIR
52 string
53 default intel/glkrvp
54
55config VARIANT_DIR
56 string
57 default "glkrvp" if BOARD_INTEL_GLKRVP
58
59config DEVICETREE
60 string
61 default "variants/baseboard/devicetree.cb"
62
63config MAINBOARD_PART_NUMBER
64 string
65 default "glkrvp" if BOARD_INTEL_GLKRVP
66
67config MAINBOARD_FAMILY
68 string
69 default "Intel_Glkrvp" if BOARD_INTEL_GLKRVP
70
71config GBB_HWID
72 string
73 depends on CHROMEOS
74 default "GLKRVP TEST A-A 6939" if BOARD_INTEL_GLKRVP
75
76config MAX_CPUS
77 int
78 default 4
79
80config UART_FOR_CONSOLE
81 int
82 default 2
83
84config INCLUDE_NHLT_BLOBS
85 bool "Include blobs for audio."
Hannah Williams7427abc2017-06-20 14:31:44 -070086 select NHLT_DMIC_4CH_16B
87 select NHLT_DA7219
88 select NHLT_MAX98357
Hannah Williamsd59f62b2017-05-05 16:39:21 -070089
90config IS_GLK_RVP_1
91 bool "Is this RVP1?"
92 default n
93
94endif # BOARD_INTEL_GLKRVP