summaryrefslogtreecommitdiff
path: root/src/mainboard/hp/snb_ivb_laptops/Kconfig
blob: 574e2697d92043cc3e6c03b944a8eb972b9b0a26 (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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
## SPDX-License-Identifier: GPL-2.0-only

config BOARD_HP_SNB_IVB_LAPTOPS_COMMON
	def_bool n
	select EC_HP_KBC1126
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select HAVE_CMOS_DEFAULT
	select HAVE_OPTION_TABLE
	select MEMORY_MAPPED_TPM
	select MAINBOARD_HAS_TPM1
	select NORTHBRIDGE_INTEL_SANDYBRIDGE
	select SERIRQ_CONTINUOUS_MODE
	select SYSTEM_TYPE_LAPTOP
	select USE_NATIVE_RAMINIT

config BOARD_HP_2560P
	select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
	select BOARD_ROMSIZE_KB_8192
	select GFX_GMA_PANEL_1_ON_LVDS
	select INTEL_GMA_HAVE_VBT
	select INTEL_INT15
	select MAINBOARD_HAS_LIBGFXINIT
	select MAINBOARD_USES_IFD_GBE_REGION
	select SOUTHBRIDGE_INTEL_BD82X6X

config BOARD_HP_2570P
	select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
	select BOARD_ROMSIZE_KB_16384
	select GFX_GMA_PANEL_1_ON_LVDS
	select INTEL_INT15
	select MAINBOARD_HAS_LIBGFXINIT
	select MAINBOARD_USES_IFD_GBE_REGION
	select SOUTHBRIDGE_INTEL_C216

config BOARD_HP_2760P
	select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
	select BOARD_ROMSIZE_KB_8192
	select GFX_GMA_PANEL_1_ON_LVDS
	select INTEL_INT15
	select MAINBOARD_HAS_LIBGFXINIT
	select MAINBOARD_USES_IFD_GBE_REGION
	select SOUTHBRIDGE_INTEL_BD82X6X

config BOARD_HP_8460P
	select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
	select BOARD_ROMSIZE_KB_8192
	select GFX_GMA_PANEL_1_ON_LVDS
	select INTEL_INT15
	select MAINBOARD_HAS_LIBGFXINIT
	select MAINBOARD_USES_IFD_GBE_REGION
	select SOUTHBRIDGE_INTEL_BD82X6X
	select SUPERIO_SMSC_LPC47N217

config BOARD_HP_8470P
	select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
	select BOARD_ROMSIZE_KB_16384
	select GFX_GMA_PANEL_1_ON_LVDS
	select INTEL_INT15
	select MAINBOARD_HAS_LIBGFXINIT
	select MAINBOARD_USES_IFD_GBE_REGION
	select SOUTHBRIDGE_INTEL_C216
	select SUPERIO_SMSC_LPC47N217

config BOARD_HP_8770W
	select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
	select BOARD_ROMSIZE_KB_16384
	select MAINBOARD_USES_IFD_GBE_REGION
	select SOUTHBRIDGE_INTEL_C216
	select SUPERIO_SMSC_LPC47N217

config BOARD_HP_FOLIO_9470M
	select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
	select BOARD_ROMSIZE_KB_16384
	select GFX_GMA_PANEL_1_ON_LVDS
	select INTEL_GMA_HAVE_VBT
	select INTEL_INT15
	select MAINBOARD_HAS_LIBGFXINIT
	select MAINBOARD_USES_IFD_GBE_REGION
	select SOUTHBRIDGE_INTEL_C216

config BOARD_HP_PROBOOK_6360B
	select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
	select BOARD_ROMSIZE_KB_4096
	select GFX_GMA_PANEL_1_ON_LVDS
	select INTEL_GMA_HAVE_VBT
	select INTEL_INT15
	select MAINBOARD_HAS_LIBGFXINIT
	select MEMORY_MAPPED_TPM
	select MAINBOARD_HAS_TPM1
	select MAINBOARD_USES_IFD_GBE_REGION
	select SOUTHBRIDGE_INTEL_BD82X6X
	select SUPERIO_SMSC_LPC47N217

config BOARD_HP_REVOLVE_810_G1
	select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
	select BOARD_ROMSIZE_KB_16384
	select HAVE_SPD_IN_CBFS
	select GFX_GMA_PANEL_1_ON_LVDS
	select INTEL_INT15
	select INTEL_GMA_HAVE_VBT
	select MAINBOARD_HAS_LIBGFXINIT
	select MAINBOARD_USES_IFD_GBE_REGION
	select SOUTHBRIDGE_INTEL_C216

if BOARD_HP_SNB_IVB_LAPTOPS_COMMON

config MAINBOARD_DIR
	default "hp/snb_ivb_laptops"

config VARIANT_DIR
	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 "probook_6360b"  if BOARD_HP_PROBOOK_6360B
	default "revolve_810_g1" if BOARD_HP_REVOLVE_810_G1

config MAINBOARD_PART_NUMBER
	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 "ProBook 6360b"            if BOARD_HP_PROBOOK_6360B
	default "EliteBook Revolve 810 G1" if BOARD_HP_REVOLVE_810_G1

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

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

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 1 if BOARD_HP_PROBOOK_6360B # FIXME: check this
	default 2 if BOARD_HP_REVOLVE_810_G1 # FIXME: check this

endif