summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kahlee/Kconfig
blob: e38fef9be5be297e51c5b7267e25c0fbb59a32cf (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
#
# This file is part of the coreboot project.
#
# Copyright (C) 2015-2017 Advanced Micro Devices, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#

if BOARD_GOOGLE_KAHLEE

config BOARD_SPECIFIC_OPTIONS # dummy
	def_bool y
	select SOC_AMD_STONEYRIDGE_FT4
	select BOARD_ROMSIZE_KB_8192
	select DRIVERS_PS2_KEYBOARD
	select EC_GOOGLE_CHROMEEC
	select EC_GOOGLE_CHROMEEC_LPC
	select HAVE_OPTION_TABLE
	select HAVE_ACPI_TABLES
	select GFXUMA
	select GOOGLE_SMBIOS_MAINBOARD_VERSION
	select MAINBOARD_HAS_CHROMEOS
	select MAINBOARD_HAS_LPC_TPM
	select SERIRQ_CONTINUOUS_MODE
	select STONEYRIDGE_UART

config MAINBOARD_DIR
	string
	default google/kahlee

config VARIANT_DIR
	string
	default "kahlee" if BOARD_GOOGLE_KAHLEE

config MAINBOARD_PART_NUMBER
	string
	default "Kahlee" if BOARD_GOOGLE_KAHLEE

config DEVICETREE
	string
	default "variants/${CONFIG_VARIANT_DIR}/devicetree.cb"

config MAINBOARD_FAMILY
	string
	default "Google_Kahlee"

config MAX_CPUS
	int
	default 4

config IRQ_SLOT_COUNT
	int
	default 11

config ONBOARD_VGA_IS_PRIMARY
	bool
	default y

config VBOOT
	select EC_GOOGLE_CHROMEEC_SWITCHES
	select VBOOT_LID_SWITCH
	select VBOOT_VBNV_CMOS

config VBOOT_VBNV_OFFSET
	hex
	default 0x2A

config CHROMEOS
	select LP_DEFCONFIG_OVERRIDE if PAYLOAD_DEPTHCHARGE

config GBB_HWID
	string
	depends on CHROMEOS
	default "KAHLEE TEST 6421" if BOARD_GOOGLE_KAHLEE

config AMD_FWM_POSITION_INDEX
	int
	default 1

endif # BOARD_GOOGLE_KAHLEE