summaryrefslogtreecommitdiff
path: root/src/mainboard/google/glados/Kconfig
blob: 9ef8736dc20093e43e1c7c7bd5067863ff23e28b (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
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_SMI_HANDLER
	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 "Chell" if BOARD_GOOGLE_CHELL
	default "Glados" if BOARD_GOOGLE_GLADOS

config MAINBOARD_FAMILY
	string
	default "Google_Glados"

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

config DEVICETREE
	string
	default "variants/chell/devicetree.cb" if BOARD_GOOGLE_CHELL
	default "variants/glados/devicetree.cb" if BOARD_GOOGLE_GLADOS

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

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

config GBB_HWID
	string
	depends on CHROMEOS
	default "CHELL TEST 6297" if BOARD_GOOGLE_CHELL
	default "GLADOS TEST 1988" if BOARD_GOOGLE_GLADOS
endif