summaryrefslogtreecommitdiff
path: root/src/mainboard/hp/snb_ivb_laptops/Kconfig
blob: 561037735f69d5808de4fef3da05043ac3a864cc (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
##
## This file is part of the coreboot project.
##
##
## SPDX-License-Identifier: GPL-2.0-only

config BOARD_HP_SNB_IVB_LAPTOPS
	def_bool n
	select EC_HP_KBC1126
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select HAVE_CMOS_DEFAULT
	select HAVE_OPTION_TABLE
	select NORTHBRIDGE_INTEL_SANDYBRIDGE
	select SERIRQ_CONTINUOUS_MODE
	select SYSTEM_TYPE_LAPTOP
	select USE_NATIVE_RAMINIT
	select MAINBOARD_HAS_LPC_TPM
	select MAINBOARD_HAS_TPM1

if BOARD_HP_SNB_IVB_LAPTOPS

config MAINBOARD_DIR
	string
	default "hp/snb_ivb_laptops"

config VARIANT_DIR
	string
	default "2560p"          if BOARD_HP_2560P
	default "2570p"          if BOARD_HP_2570P
	default "2760p"          if BOARD_HP_2760P
	default "8460p"          if BOARD_HP_8460P
	default "8470p"          if BOARD_HP_8470P
	default "8770w"          if BOARD_HP_8770W
	default "folio_9470m"    if BOARD_HP_FOLIO_9470M
	default "revolve_810_g1" if BOARD_HP_REVOLVE_810_G1

config MAINBOARD_PART_NUMBER
	string
	default "EliteBook 2560p"          if BOARD_HP_2560P
	default "EliteBook 2570p"          if BOARD_HP_2570P
	default "EliteBook 2760p"          if BOARD_HP_2760P
	default "EliteBook 8460p"          if BOARD_HP_8460P
	default "EliteBook 8470p"          if BOARD_HP_8470P
	default "EliteBook 8770w"          if BOARD_HP_8770W
	default "EliteBook Folio 9470m"    if BOARD_HP_FOLIO_9470M
	default "EliteBook Revolve 810 G1" if BOARD_HP_REVOLVE_810_G1

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

config VGA_BIOS_FILE
	string
	default "pci8086,0116.rom" if SOUTHBRIDGE_INTEL_BD82X6X
	default "pci8086,0166.rom" if SOUTHBRIDGE_INTEL_C216

config VGA_BIOS_ID
	string
	default "8086,0116" if SOUTHBRIDGE_INTEL_BD82X6X
	default "8086,0166" if SOUTHBRIDGE_INTEL_C216

config MAX_CPUS
	int
	default 8

config USBDEBUG_HCD_INDEX
	int
	default 1 if BOARD_HP_2560P
	default 2 if BOARD_HP_2570P
	default 1 if BOARD_HP_2760P
	default 1 if BOARD_HP_8460P
	default 2 if BOARD_HP_8470P
	default 2 if BOARD_HP_8770W
	default 0 if BOARD_HP_FOLIO_9470M
	default 2 if BOARD_HP_REVOLVE_810_G1 # FIXME: check this

endif