Patrick Georgi | c49d7a3 | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 2 | |
Felix Singer | 589609c | 2022-03-15 11:07:07 +0100 | [diff] [blame] | 3 | config BOARD_HP_SNB_IVB_LAPTOPS_COMMON |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 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 |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 10 | select MEMORY_MAPPED_TPM |
Felix Singer | 339ca7f | 2022-03-15 11:00:51 +0100 | [diff] [blame] | 11 | select MAINBOARD_HAS_TPM1 |
Peter Lemenkov | fb2116f | 2022-06-13 21:43:49 +0200 | [diff] [blame] | 12 | select MAINBOARD_USES_IFD_GBE_REGION |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 13 | select NORTHBRIDGE_INTEL_SANDYBRIDGE |
| 14 | select SERIRQ_CONTINUOUS_MODE |
| 15 | select SYSTEM_TYPE_LAPTOP |
| 16 | select USE_NATIVE_RAMINIT |
| 17 | |
Bill XIE | c756be2 | 2023-03-16 16:37:22 +0800 | [diff] [blame] | 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 |
| 27 | |
Felix Singer | 944291d | 2022-03-15 11:11:26 +0100 | [diff] [blame] | 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 |
Felix Singer | 944291d | 2022-03-15 11:11:26 +0100 | [diff] [blame] | 35 | select SOUTHBRIDGE_INTEL_BD82X6X |
| 36 | |
| 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 |
Felix Singer | 944291d | 2022-03-15 11:11:26 +0100 | [diff] [blame] | 43 | select SOUTHBRIDGE_INTEL_C216 |
| 44 | |
| 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 |
Felix Singer | 944291d | 2022-03-15 11:11:26 +0100 | [diff] [blame] | 51 | select SOUTHBRIDGE_INTEL_BD82X6X |
| 52 | |
| 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 |
Riku Viitanen | b04ea30 | 2023-12-18 19:16:21 +0200 | [diff] [blame] | 57 | select INTEL_GMA_HAVE_VBT |
Felix Singer | 944291d | 2022-03-15 11:11:26 +0100 | [diff] [blame] | 58 | select INTEL_INT15 |
| 59 | select MAINBOARD_HAS_LIBGFXINIT |
Felix Singer | 944291d | 2022-03-15 11:11:26 +0100 | [diff] [blame] | 60 | select SOUTHBRIDGE_INTEL_BD82X6X |
| 61 | select SUPERIO_SMSC_LPC47N217 |
| 62 | |
| 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 |
Felix Singer | 944291d | 2022-03-15 11:11:26 +0100 | [diff] [blame] | 69 | select SOUTHBRIDGE_INTEL_C216 |
| 70 | select SUPERIO_SMSC_LPC47N217 |
| 71 | |
Iru Cai | 56ed345 | 2019-03-05 16:27:36 +0800 | [diff] [blame^] | 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 |
| 77 | |
Felix Singer | 944291d | 2022-03-15 11:11:26 +0100 | [diff] [blame] | 78 | config BOARD_HP_8770W |
| 79 | select BOARD_HP_SNB_IVB_LAPTOPS_COMMON |
| 80 | select BOARD_ROMSIZE_KB_16384 |
Felix Singer | 944291d | 2022-03-15 11:11:26 +0100 | [diff] [blame] | 81 | select SOUTHBRIDGE_INTEL_C216 |
| 82 | select SUPERIO_SMSC_LPC47N217 |
| 83 | |
| 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 |
Felix Singer | 944291d | 2022-03-15 11:11:26 +0100 | [diff] [blame] | 91 | select SOUTHBRIDGE_INTEL_C216 |
| 92 | |
| 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 |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 100 | select MEMORY_MAPPED_TPM |
Felix Singer | 944291d | 2022-03-15 11:11:26 +0100 | [diff] [blame] | 101 | select MAINBOARD_HAS_TPM1 |
Felix Singer | 944291d | 2022-03-15 11:11:26 +0100 | [diff] [blame] | 102 | select SOUTHBRIDGE_INTEL_BD82X6X |
| 103 | select SUPERIO_SMSC_LPC47N217 |
| 104 | |
| 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 |
Felix Singer | 944291d | 2022-03-15 11:11:26 +0100 | [diff] [blame] | 113 | select SOUTHBRIDGE_INTEL_C216 |
| 114 | |
Felix Singer | 589609c | 2022-03-15 11:07:07 +0100 | [diff] [blame] | 115 | if BOARD_HP_SNB_IVB_LAPTOPS_COMMON |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 116 | |
| 117 | config MAINBOARD_DIR |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 118 | default "hp/snb_ivb_laptops" |
| 119 | |
| 120 | config VARIANT_DIR |
Bill XIE | c756be2 | 2023-03-16 16:37:22 +0800 | [diff] [blame] | 121 | default "2170p" if BOARD_HP_2170P |
Iru Cai | 1bda1c3 | 2020-04-10 23:40:00 +0800 | [diff] [blame] | 122 | default "2560p" if BOARD_HP_2560P |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 123 | default "2570p" if BOARD_HP_2570P |
Angel Pons | a3580e5 | 2020-01-02 00:04:43 +0100 | [diff] [blame] | 124 | default "2760p" if BOARD_HP_2760P |
Angel Pons | 5aee826 | 2020-01-02 00:07:08 +0100 | [diff] [blame] | 125 | default "8460p" if BOARD_HP_8460P |
Angel Pons | e4faf5a | 2020-01-02 00:09:13 +0100 | [diff] [blame] | 126 | default "8470p" if BOARD_HP_8470P |
Iru Cai | 56ed345 | 2019-03-05 16:27:36 +0800 | [diff] [blame^] | 127 | default "8560w" if BOARD_HP_8560W |
Angel Pons | 533e439 | 2020-01-02 00:11:30 +0100 | [diff] [blame] | 128 | default "8770w" if BOARD_HP_8770W |
Angel Pons | 650a56f | 2020-01-02 00:16:03 +0100 | [diff] [blame] | 129 | default "folio_9470m" if BOARD_HP_FOLIO_9470M |
Pablo Stebler | 3b6d80f | 2020-06-14 23:20:16 +0200 | [diff] [blame] | 130 | default "probook_6360b" if BOARD_HP_PROBOOK_6360B |
Angel Pons | ba9e482a | 2020-01-02 00:22:27 +0100 | [diff] [blame] | 131 | default "revolve_810_g1" if BOARD_HP_REVOLVE_810_G1 |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 132 | |
| 133 | config MAINBOARD_PART_NUMBER |
Bill XIE | c756be2 | 2023-03-16 16:37:22 +0800 | [diff] [blame] | 134 | default "EliteBook 2170p" if BOARD_HP_2170P |
Iru Cai | 1bda1c3 | 2020-04-10 23:40:00 +0800 | [diff] [blame] | 135 | default "EliteBook 2560p" if BOARD_HP_2560P |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 136 | default "EliteBook 2570p" if BOARD_HP_2570P |
Angel Pons | a3580e5 | 2020-01-02 00:04:43 +0100 | [diff] [blame] | 137 | default "EliteBook 2760p" if BOARD_HP_2760P |
Angel Pons | 5aee826 | 2020-01-02 00:07:08 +0100 | [diff] [blame] | 138 | default "EliteBook 8460p" if BOARD_HP_8460P |
Angel Pons | e4faf5a | 2020-01-02 00:09:13 +0100 | [diff] [blame] | 139 | default "EliteBook 8470p" if BOARD_HP_8470P |
Iru Cai | 56ed345 | 2019-03-05 16:27:36 +0800 | [diff] [blame^] | 140 | default "EliteBook 8560w" if BOARD_HP_8560W |
Angel Pons | 533e439 | 2020-01-02 00:11:30 +0100 | [diff] [blame] | 141 | default "EliteBook 8770w" if BOARD_HP_8770W |
Angel Pons | 650a56f | 2020-01-02 00:16:03 +0100 | [diff] [blame] | 142 | default "EliteBook Folio 9470m" if BOARD_HP_FOLIO_9470M |
Pablo Stebler | 3b6d80f | 2020-06-14 23:20:16 +0200 | [diff] [blame] | 143 | default "ProBook 6360b" if BOARD_HP_PROBOOK_6360B |
Angel Pons | ba9e482a | 2020-01-02 00:22:27 +0100 | [diff] [blame] | 144 | default "EliteBook Revolve 810 G1" if BOARD_HP_REVOLVE_810_G1 |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 145 | |
Angel Pons | 42d3005 | 2020-01-02 00:57:52 +0100 | [diff] [blame] | 146 | config OVERRIDE_DEVICETREE |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 147 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 148 | |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 149 | config VGA_BIOS_ID |
| 150 | string |
| 151 | default "8086,0116" if SOUTHBRIDGE_INTEL_BD82X6X |
| 152 | default "8086,0166" if SOUTHBRIDGE_INTEL_C216 |
| 153 | |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 154 | config USBDEBUG_HCD_INDEX |
| 155 | int |
Bill XIE | c756be2 | 2023-03-16 16:37:22 +0800 | [diff] [blame] | 156 | default 0 if BOARD_HP_2170P || BOARD_HP_FOLIO_9470M |
Iru Cai | 56ed345 | 2019-03-05 16:27:36 +0800 | [diff] [blame^] | 157 | default 1 if BOARD_HP_2560P || BOARD_HP_2760P || BOARD_HP_8460P || BOARD_HP_8560W |
Felix Singer | ab0a19c | 2023-02-14 08:03:02 +0100 | [diff] [blame] | 158 | default 2 if BOARD_HP_2570P || BOARD_HP_8470P || BOARD_HP_8770W |
Pablo Stebler | 3b6d80f | 2020-06-14 23:20:16 +0200 | [diff] [blame] | 159 | default 1 if BOARD_HP_PROBOOK_6360B # FIXME: check this |
Angel Pons | ba9e482a | 2020-01-02 00:22:27 +0100 | [diff] [blame] | 160 | default 2 if BOARD_HP_REVOLVE_810_G1 # FIXME: check this |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 161 | |
| 162 | endif |