summaryrefslogtreecommitdiff
path: root/src/mainboard/google/glados/Kconfig
blob: 05572df98e9eb3dd57d24792a0bc373368a2245e (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
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 INTEL_GMA_HAVE_VBT if !BOARD_GOOGLE_GLADOS
	select MAINBOARD_HAS_CHROMEOS
	select MAINBOARD_HAS_LPC_TPM
	select MAINBOARD_HAS_TPM1
	select SOC_INTEL_SKYLAKE
	select SYSTEM_TYPE_LAPTOP

if BOARD_GOOGLE_BASEBOARD_GLADOS

config VBOOT
	select EC_GOOGLE_CHROMEEC_SWITCHES
	select VBOOT_LID_SWITCH

config IRQ_SLOT_COUNT
	int
	default 18

config MAINBOARD_DIR
	string
	default "google/glados"

config MAINBOARD_PART_NUMBER
	string
	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
	string
	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 DEVICETREE
	string
	default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"

config MAX_CPUS
	int
	default 8

config TPM_PIRQ
	hex
	default 0x18  # GPP_E0_IRQ

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

config EC_GOOGLE_CHROMEEC_BOARDNAME
	string
	default "chell" if BOARD_GOOGLE_CHELL
	default "glados" if BOARD_GOOGLE_GLADOS
	default ""

config EC_GOOGLE_CHROMEEC_PD_BOARDNAME
	string
	default "chell_pd" if BOARD_GOOGLE_CHELL
	default "glados_pd" if BOARD_GOOGLE_GLADOS
	default ""

config GBB_HWID
	string
	depends on CHROMEOS
	default "ASUKA TEST 2547" if BOARD_GOOGLE_ASUKA
	default "CAROLINE TEST 0958" if BOARD_GOOGLE_CAROLINE
	default "CAVE TEST 9629" if BOARD_GOOGLE_CAVE
	default "CHELL TEST 6297" if BOARD_GOOGLE_CHELL
	default "GLADOS TEST 1988" if BOARD_GOOGLE_GLADOS
	default "LARS TEST 5001" if BOARD_GOOGLE_LARS
	default "SENTRY TEST 6297" if BOARD_GOOGLE_SENTRY
endif