summaryrefslogtreecommitdiff
path: root/src/mainboard/google/glados/Kconfig
blob: 59ea8eda0e6f01135ff8d0ef2491ccec75b1c92f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
config BOARD_GOOGLE_BASEBOARD_GLADOS
	def_bool n
	select BOARD_ROMSIZE_KB_16384
	select DRIVERS_I2C_GENERIC
	select DRIVERS_I2C_NAU8825
	select EC_GOOGLE_CHROMEEC
	select EC_GOOGLE_CHROMEEC_ACPI_MEMMAP
	select EC_GOOGLE_CHROMEEC_BOARDID
	select EC_GOOGLE_CHROMEEC_LPC
	select EC_GOOGLE_CHROMEEC_MEC
	select EC_GOOGLE_CHROMEEC_PD
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select HAVE_OPTION_TABLE
	select HAVE_SPD_IN_CBFS
	select INTEL_LPSS_UART_FOR_CONSOLE
	select MAINBOARD_HAS_CHROMEOS
	select MAINBOARD_HAS_LIBGFXINIT
	select MAINBOARD_HAS_LPC_TPM
	select MAINBOARD_HAS_TPM1
	select SOC_INTEL_SKYLAKE
	select SYSTEM_TYPE_LAPTOP

config BOARD_GOOGLE_ASUKA
	select BOARD_GOOGLE_BASEBOARD_GLADOS
	select DRIVERS_GENERIC_MAX98357A
	select EXCLUDE_NATIVE_SD_INTERFACE
	select INTEL_GMA_HAVE_VBT
	select MAINBOARD_NO_FSP_GOP
	select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS

config BOARD_GOOGLE_CAROLINE
	select BOARD_GOOGLE_BASEBOARD_GLADOS
	select DSAR_ENABLE
	select INTEL_GMA_HAVE_VBT
	select MAINBOARD_NO_FSP_GOP
	select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS
	select SAR_ENABLE
	select USE_SAR

config BOARD_GOOGLE_CAVE
	select BOARD_GOOGLE_BASEBOARD_GLADOS
	select DRIVERS_GENERIC_MAX98357A
	select INTEL_GMA_HAVE_VBT
	select MAINBOARD_NO_FSP_GOP
	select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS

config BOARD_GOOGLE_CHELL
	select BOARD_GOOGLE_BASEBOARD_GLADOS
	select INTEL_GMA_HAVE_VBT
	select MAINBOARD_NO_FSP_GOP
	select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS

config BOARD_GOOGLE_GLADOS
	select BOARD_GOOGLE_BASEBOARD_GLADOS
	select NHLT_DMIC_4CH if INCLUDE_NHLT_BLOBS
	select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS

config BOARD_GOOGLE_LARS
	select BOARD_GOOGLE_BASEBOARD_GLADOS
	select DRIVERS_GENERIC_MAX98357A
	select EXCLUDE_NATIVE_SD_INTERFACE
	select INTEL_GMA_HAVE_VBT
	select MAINBOARD_NO_FSP_GOP
	select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS

config BOARD_GOOGLE_SENTRY
	select BOARD_GOOGLE_BASEBOARD_GLADOS
	select DRIVERS_GENERIC_MAX98357A
	select INTEL_GMA_HAVE_VBT
	select MAINBOARD_NO_FSP_GOP
	select NHLT_DMIC_4CH if INCLUDE_NHLT_BLOBS
	select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS
	select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS

if BOARD_GOOGLE_BASEBOARD_GLADOS

config DISABLE_HECI1_AT_PRE_BOOT
	default y

config VBOOT
	select EC_GOOGLE_CHROMEEC_SWITCHES
	select VBOOT_LID_SWITCH

config MAINBOARD_DIR
	default "google/glados"

config MAINBOARD_PART_NUMBER
	default "Asuka" if BOARD_GOOGLE_ASUKA
	default "Caroline" if BOARD_GOOGLE_CAROLINE
	default "Cave" if BOARD_GOOGLE_CAVE
	default "Chell" if BOARD_GOOGLE_CHELL
	default "Glados" if BOARD_GOOGLE_GLADOS
	default "Lars" if BOARD_GOOGLE_LARS
	default "Sentry" if BOARD_GOOGLE_SENTRY

config MAINBOARD_FAMILY
	string
	default "Google_Glados"

config VARIANT_DIR
	default "asuka" if BOARD_GOOGLE_ASUKA
	default "caroline" if BOARD_GOOGLE_CAROLINE
	default "cave" if BOARD_GOOGLE_CAVE
	default "chell" if BOARD_GOOGLE_CHELL
	default "glados" if BOARD_GOOGLE_GLADOS
	default "lars" if BOARD_GOOGLE_LARS
	default "sentry" if BOARD_GOOGLE_SENTRY

config OVERRIDE_DEVICETREE
	default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"

config INCLUDE_NHLT_BLOBS
	bool "Include blobs for audio."
	select NHLT_DMIC_2CH
	select NHLT_NAU88L25

config UART_FOR_CONSOLE
	int
	default 2

config CONSOLE_SERIAL
	bool
	default n

config USE_PM_ACPI_TIMER
	default n

endif