blob: d0105ff01a9995ec15b07af384b13db7588fa37b [file] [log] [blame]
Angel Pons8abb05a2020-01-01 23:57:30 +01001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2017 Iru Cai <mytbk920423@gmail.com>
5##
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; version 2 of the License.
9##
10## This program is distributed in the hope that it will be useful,
11## but WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13## GNU General Public License for more details.
14##
15
16config BOARD_HP_SNB_IVB_LAPTOPS
17 def_bool n
18 select EC_HP_KBC1126
19 select HAVE_ACPI_RESUME
20 select HAVE_ACPI_TABLES
21 select HAVE_CMOS_DEFAULT
22 select HAVE_OPTION_TABLE
23 select NORTHBRIDGE_INTEL_SANDYBRIDGE
24 select SERIRQ_CONTINUOUS_MODE
25 select SYSTEM_TYPE_LAPTOP
26 select USE_NATIVE_RAMINIT
27
28if BOARD_HP_SNB_IVB_LAPTOPS
29
30config MAINBOARD_DIR
31 string
32 default "hp/snb_ivb_laptops"
33
34config VARIANT_DIR
35 string
36 default "2570p" if BOARD_HP_2570P
Angel Ponsa3580e52020-01-02 00:04:43 +010037 default "2760p" if BOARD_HP_2760P
Angel Pons5aee8262020-01-02 00:07:08 +010038 default "8460p" if BOARD_HP_8460P
Angel Ponse4faf5a2020-01-02 00:09:13 +010039 default "8470p" if BOARD_HP_8470P
Angel Pons533e4392020-01-02 00:11:30 +010040 default "8770w" if BOARD_HP_8770W
Angel Pons650a56f2020-01-02 00:16:03 +010041 default "folio_9470m" if BOARD_HP_FOLIO_9470M
Angel Ponsba9e482a2020-01-02 00:22:27 +010042 default "revolve_810_g1" if BOARD_HP_REVOLVE_810_G1
Angel Pons8abb05a2020-01-01 23:57:30 +010043
44config MAINBOARD_PART_NUMBER
45 string
46 default "EliteBook 2570p" if BOARD_HP_2570P
Angel Ponsa3580e52020-01-02 00:04:43 +010047 default "EliteBook 2760p" if BOARD_HP_2760P
Angel Pons5aee8262020-01-02 00:07:08 +010048 default "EliteBook 8460p" if BOARD_HP_8460P
Angel Ponse4faf5a2020-01-02 00:09:13 +010049 default "EliteBook 8470p" if BOARD_HP_8470P
Angel Pons533e4392020-01-02 00:11:30 +010050 default "EliteBook 8770w" if BOARD_HP_8770W
Angel Pons650a56f2020-01-02 00:16:03 +010051 default "EliteBook Folio 9470m" if BOARD_HP_FOLIO_9470M
Angel Ponsba9e482a2020-01-02 00:22:27 +010052 default "EliteBook Revolve 810 G1" if BOARD_HP_REVOLVE_810_G1
Angel Pons8abb05a2020-01-01 23:57:30 +010053
Angel Pons42d30052020-01-02 00:57:52 +010054config OVERRIDE_DEVICETREE
Angel Pons8abb05a2020-01-01 23:57:30 +010055 string
Angel Pons42d30052020-01-02 00:57:52 +010056 default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb"
Angel Pons8abb05a2020-01-01 23:57:30 +010057
58config VGA_BIOS_FILE
59 string
60 default "pci8086,0116.rom" if SOUTHBRIDGE_INTEL_BD82X6X
61 default "pci8086,0166.rom" if SOUTHBRIDGE_INTEL_C216
62
63config VGA_BIOS_ID
64 string
65 default "8086,0116" if SOUTHBRIDGE_INTEL_BD82X6X
66 default "8086,0166" if SOUTHBRIDGE_INTEL_C216
67
68config MAX_CPUS
69 int
70 default 8
71
72config USBDEBUG_HCD_INDEX
73 int
74 default 2 if BOARD_HP_2570P
Angel Ponsa3580e52020-01-02 00:04:43 +010075 default 1 if BOARD_HP_2760P
Angel Pons5aee8262020-01-02 00:07:08 +010076 default 1 if BOARD_HP_8460P
Angel Ponse4faf5a2020-01-02 00:09:13 +010077 default 2 if BOARD_HP_8470P
Angel Pons533e4392020-01-02 00:11:30 +010078 default 2 if BOARD_HP_8770W
Angel Pons650a56f2020-01-02 00:16:03 +010079 default 0 if BOARD_HP_FOLIO_9470M
Angel Ponsba9e482a2020-01-02 00:22:27 +010080 default 2 if BOARD_HP_REVOLVE_810_G1 # FIXME: check this
Angel Pons8abb05a2020-01-01 23:57:30 +010081
82endif