summaryrefslogtreecommitdiff
path: root/src/mainboard/google/octopus/Kconfig
blob: dc58ec8310a79ff243f2a591c7aab0617cdbaede (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

config BOARD_GOOGLE_BASEBOARD_OCTOPUS
	def_bool n
	select SOC_INTEL_GLK
	select BOARD_ROMSIZE_KB_16384
	select DRIVERS_GENERIC_MAX98357A
	select DRIVERS_I2C_DA7219
	select DRIVERS_I2C_GENERIC
	select DRIVERS_I2C_HID
	select DRIVERS_SPI_ACPI
	select EC_GOOGLE_CHROMEEC
	select EC_GOOGLE_CHROMEEC_BOARDID
	select EC_GOOGLE_CHROMEEC_LPC
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select MAINBOARD_HAS_CHROMEOS
	select SOC_ESPI
	select MAINBOARD_HAS_SPI_TPM_CR50
	select MAINBOARD_HAS_TPM2

if BOARD_GOOGLE_BASEBOARD_OCTOPUS

config BASEBOARD_OCTOPUS_LAPTOP
	def_bool n
	select SYSTEM_TYPE_LAPTOP

config CHROMEOS
	bool
	default y
	select EC_GOOGLE_CHROMEEC_SWITCHES
	select HAS_RECOVERY_MRC_CACHE
	select MRC_CLEAR_NORMAL_CACHE_ON_RECOVERY_RETRAIN
	select VBOOT_LID_SWITCH

config MAINBOARD_DIR
	string
	default google/octopus

config VARIANT_DIR
	string
	default "yorp" if BOARD_GOOGLE_YORP
	default "bip" if BOARD_GOOGLE_BIP
	default "phaser" if BOARD_GOOGLE_PHASER
	default "fleex" if BOARD_GOOGLE_FLEEX
	default "bobba" if BOARD_GOOGLE_BOBBA
	default "meep" if BOARD_GOOGLE_MEEP
	default "octopus" if BOARD_GOOGLE_OCTOPUS

config DEVICETREE
	string
	default "variants/baseboard/devicetree.cb"

config OVERRIDE_DEVICETREE
	string
	default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb" if !BOARD_GOOGLE_OCTOPUS

config MAINBOARD_PART_NUMBER
	string
	default "Yorp" if BOARD_GOOGLE_YORP
	default "Bip" if BOARD_GOOGLE_BIP
	default "Phaser" if BOARD_GOOGLE_PHASER
	default "Fleex" if BOARD_GOOGLE_FLEEX
	default "Bobba" if BOARD_GOOGLE_BOBBA
	default "Meep" if BOARD_GOOGLE_MEEP
	default "Octopus" if BOARD_GOOGLE_OCTOPUS

config MAINBOARD_FAMILY
	string
	default "Google_Octopus"

config GBB_HWID
	string
	depends on CHROMEOS
	default "YORP TEST 7755" if BOARD_GOOGLE_YORP
	default "BIP TEST 5732" if BOARD_GOOGLE_BIP
	default "PHASER TEST 7167" if BOARD_GOOGLE_PHASER
	default "FLEEX TEST 7423" if BOARD_GOOGLE_FLEEX
	default "BOBBA TEST 4516" if BOARD_GOOGLE_BOBBA
	default "MEEP TEST 1118" if BOARD_GOOGLE_MEEP
	default "OCTOPUS TEST 6859" if BOARD_GOOGLE_OCTOPUS

config MAX_CPUS
	int
	default 4

config UART_FOR_CONSOLE
	int
	default 2

config INCLUDE_NHLT_BLOBS
	bool "Include blobs for audio"
	select NHLT_DMIC_2CH_16B
	select NHLT_DMIC_4CH_16B
	select NHLT_MAX98357

config DRIVER_TPM_SPI_BUS
	default 0x1

config TPM_TIS_ACPI_INTERRUPT
	int
	default 63 # GPE0_DW1_31 (GPIO_63)

endif # BOARD_GOOGLE_OCTOPUS