mb/google/brya/var/uldrenite: Generate RAM ID and SPD file
[coreboot2.git] / src / mainboard / hp / snb_ivb_laptops / Kconfig
blobf180bca87fcd2223ecef4e74d99adefda670e6a4
1 ## SPDX-License-Identifier: GPL-2.0-only
3 config BOARD_HP_SNB_IVB_LAPTOPS_COMMON
4         def_bool n
5         select EC_HP_KBC1126
6         select HAVE_ACPI_RESUME
7         select HAVE_ACPI_TABLES
8         select HAVE_CMOS_DEFAULT
9         select HAVE_OPTION_TABLE
10         select MEMORY_MAPPED_TPM
11         select MAINBOARD_HAS_TPM1
12         select MAINBOARD_USES_IFD_GBE_REGION
13         select NORTHBRIDGE_INTEL_SANDYBRIDGE
14         select SERIRQ_CONTINUOUS_MODE
15         select SYSTEM_TYPE_LAPTOP
16         select USE_NATIVE_RAMINIT
18 config BOARD_HP_2170P
19         select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
20         select BOARD_ROMSIZE_KB_16384
21         select GFX_GMA_PANEL_1_ON_LVDS
22         select INTEL_GMA_HAVE_VBT
23         select INTEL_INT15
24         select MAINBOARD_HAS_LIBGFXINIT
25         select SOUTHBRIDGE_INTEL_C216
26         select SUPERIO_SMSC_LPC47N217
28 config BOARD_HP_2560P
29         select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
30         select BOARD_ROMSIZE_KB_8192
31         select GFX_GMA_PANEL_1_ON_LVDS
32         select INTEL_GMA_HAVE_VBT
33         select INTEL_INT15
34         select MAINBOARD_HAS_LIBGFXINIT
35         select SOUTHBRIDGE_INTEL_BD82X6X
37 config BOARD_HP_2570P
38         select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
39         select BOARD_ROMSIZE_KB_16384
40         select GFX_GMA_PANEL_1_ON_LVDS
41         select INTEL_INT15
42         select MAINBOARD_HAS_LIBGFXINIT
43         select SOUTHBRIDGE_INTEL_C216
45 config BOARD_HP_2760P
46         select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
47         select BOARD_ROMSIZE_KB_8192
48         select GFX_GMA_PANEL_1_ON_LVDS
49         select INTEL_INT15
50         select MAINBOARD_HAS_LIBGFXINIT
51         select SOUTHBRIDGE_INTEL_BD82X6X
53 config BOARD_HP_8460P
54         select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
55         select BOARD_ROMSIZE_KB_8192
56         select GFX_GMA_PANEL_1_ON_LVDS
57         select INTEL_GMA_HAVE_VBT
58         select INTEL_INT15
59         select MAINBOARD_HAS_LIBGFXINIT
60         select SOUTHBRIDGE_INTEL_BD82X6X
61         select SUPERIO_SMSC_LPC47N217
63 config BOARD_HP_8470P
64         select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
65         select BOARD_ROMSIZE_KB_16384
66         select GFX_GMA_PANEL_1_ON_LVDS
67         select INTEL_INT15
68         select MAINBOARD_HAS_LIBGFXINIT
69         select SOUTHBRIDGE_INTEL_C216
70         select SUPERIO_SMSC_LPC47N217
72 config BOARD_HP_8560W
73         select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
74         select BOARD_ROMSIZE_KB_8192
75         select SOUTHBRIDGE_INTEL_BD82X6X
76         select SUPERIO_SMSC_LPC47N217
78 config BOARD_HP_8770W
79         select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
80         select BOARD_ROMSIZE_KB_16384
81         select SOUTHBRIDGE_INTEL_C216
82         select SUPERIO_SMSC_LPC47N217
84 config BOARD_HP_FOLIO_9470M
85         select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
86         select BOARD_ROMSIZE_KB_16384
87         select GFX_GMA_PANEL_1_ON_LVDS
88         select INTEL_GMA_HAVE_VBT
89         select INTEL_INT15
90         select MAINBOARD_HAS_LIBGFXINIT
91         select SOUTHBRIDGE_INTEL_C216
93 config BOARD_HP_PROBOOK_6360B
94         select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
95         select BOARD_ROMSIZE_KB_4096
96         select GFX_GMA_PANEL_1_ON_LVDS
97         select INTEL_GMA_HAVE_VBT
98         select INTEL_INT15
99         select MAINBOARD_HAS_LIBGFXINIT
100         select MEMORY_MAPPED_TPM
101         select MAINBOARD_HAS_TPM1
102         select SOUTHBRIDGE_INTEL_BD82X6X
103         select SUPERIO_SMSC_LPC47N217
105 config BOARD_HP_REVOLVE_810_G1
106         select BOARD_HP_SNB_IVB_LAPTOPS_COMMON
107         select BOARD_ROMSIZE_KB_16384
108         select HAVE_SPD_IN_CBFS
109         select GFX_GMA_PANEL_1_ON_LVDS
110         select INTEL_INT15
111         select INTEL_GMA_HAVE_VBT
112         select MAINBOARD_HAS_LIBGFXINIT
113         select SOUTHBRIDGE_INTEL_C216
115 if BOARD_HP_SNB_IVB_LAPTOPS_COMMON
117 config MAINBOARD_DIR
118         default "hp/snb_ivb_laptops"
120 config VARIANT_DIR
121         default "2170p"          if BOARD_HP_2170P
122         default "2560p"          if BOARD_HP_2560P
123         default "2570p"          if BOARD_HP_2570P
124         default "2760p"          if BOARD_HP_2760P
125         default "8460p"          if BOARD_HP_8460P
126         default "8470p"          if BOARD_HP_8470P
127         default "8560w"          if BOARD_HP_8560W
128         default "8770w"          if BOARD_HP_8770W
129         default "folio_9470m"    if BOARD_HP_FOLIO_9470M
130         default "probook_6360b"  if BOARD_HP_PROBOOK_6360B
131         default "revolve_810_g1" if BOARD_HP_REVOLVE_810_G1
133 config MAINBOARD_PART_NUMBER
134         default "EliteBook 2170p"          if BOARD_HP_2170P
135         default "EliteBook 2560p"          if BOARD_HP_2560P
136         default "EliteBook 2570p"          if BOARD_HP_2570P
137         default "EliteBook 2760p"          if BOARD_HP_2760P
138         default "EliteBook 8460p"          if BOARD_HP_8460P
139         default "EliteBook 8470p"          if BOARD_HP_8470P
140         default "EliteBook 8560w"          if BOARD_HP_8560W
141         default "EliteBook 8770w"          if BOARD_HP_8770W
142         default "EliteBook Folio 9470m"    if BOARD_HP_FOLIO_9470M
143         default "ProBook 6360b"            if BOARD_HP_PROBOOK_6360B
144         default "EliteBook Revolve 810 G1" if BOARD_HP_REVOLVE_810_G1
146 config OVERRIDE_DEVICETREE
147         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
149 config VGA_BIOS_ID
150         string
151         default "8086,0116" if SOUTHBRIDGE_INTEL_BD82X6X
152         default "8086,0166" if SOUTHBRIDGE_INTEL_C216
154 config USBDEBUG_HCD_INDEX
155         int
156         default 0 if BOARD_HP_2170P || BOARD_HP_FOLIO_9470M
157         default 1 if BOARD_HP_2560P || BOARD_HP_2760P || BOARD_HP_8460P || BOARD_HP_8560W
158         default 2 if BOARD_HP_2570P || BOARD_HP_8470P || BOARD_HP_8770W
159         default 1 if BOARD_HP_PROBOOK_6360B # FIXME: check this
160         default 2 if BOARD_HP_REVOLVE_810_G1 # FIXME: check this
162 endif