summaryrefslogtreecommitdiff
path: root/src/mainboard/google/glados/Kconfig
blob: 144dee31d572ceac571b6893319a485497d270e1 (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
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 INTEL_LPSS_UART_FOR_CONSOLE
	select MAINBOARD_HAS_CHROMEOS
	select MAINBOARD_HAS_LPC_TPM
	select MAINBOARD_HAS_TPM1
	select SOC_INTEL_SKYLAKE
	select SYSTEM_TYPE_LAPTOP
	select MAINBOARD_HAS_LIBGFXINIT
	select MAINBOARD_NO_FSP_GOP if !BOARD_GOOGLE_GLADOS
	select HAVE_SPD_IN_CBFS

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
	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
	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 OVERRIDE_DEVICETREE
	default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"

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 UART_FOR_CONSOLE
	int
	default 2

config CONSOLE_SERIAL
	bool
	default n

config USE_PM_ACPI_TIMER
	default n

endif