Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 1 | ## |
| 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 | |
| 16 | config 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 | |
| 28 | if BOARD_HP_SNB_IVB_LAPTOPS |
| 29 | |
| 30 | config MAINBOARD_DIR |
| 31 | string |
| 32 | default "hp/snb_ivb_laptops" |
| 33 | |
| 34 | config VARIANT_DIR |
| 35 | string |
| 36 | default "2570p" if BOARD_HP_2570P |
Angel Pons | a3580e5 | 2020-01-02 00:04:43 +0100 | [diff] [blame] | 37 | default "2760p" if BOARD_HP_2760P |
Angel Pons | 5aee826 | 2020-01-02 00:07:08 +0100 | [diff] [blame] | 38 | default "8460p" if BOARD_HP_8460P |
Angel Pons | e4faf5a | 2020-01-02 00:09:13 +0100 | [diff] [blame] | 39 | default "8470p" if BOARD_HP_8470P |
Angel Pons | 533e439 | 2020-01-02 00:11:30 +0100 | [diff] [blame] | 40 | default "8770w" if BOARD_HP_8770W |
Angel Pons | 650a56f | 2020-01-02 00:16:03 +0100 | [diff] [blame] | 41 | default "folio_9470m" if BOARD_HP_FOLIO_9470M |
Angel Pons | ba9e482a | 2020-01-02 00:22:27 +0100 | [diff] [blame] | 42 | default "revolve_810_g1" if BOARD_HP_REVOLVE_810_G1 |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 43 | |
| 44 | config MAINBOARD_PART_NUMBER |
| 45 | string |
| 46 | default "EliteBook 2570p" if BOARD_HP_2570P |
Angel Pons | a3580e5 | 2020-01-02 00:04:43 +0100 | [diff] [blame] | 47 | default "EliteBook 2760p" if BOARD_HP_2760P |
Angel Pons | 5aee826 | 2020-01-02 00:07:08 +0100 | [diff] [blame] | 48 | default "EliteBook 8460p" if BOARD_HP_8460P |
Angel Pons | e4faf5a | 2020-01-02 00:09:13 +0100 | [diff] [blame] | 49 | default "EliteBook 8470p" if BOARD_HP_8470P |
Angel Pons | 533e439 | 2020-01-02 00:11:30 +0100 | [diff] [blame] | 50 | default "EliteBook 8770w" if BOARD_HP_8770W |
Angel Pons | 650a56f | 2020-01-02 00:16:03 +0100 | [diff] [blame] | 51 | default "EliteBook Folio 9470m" if BOARD_HP_FOLIO_9470M |
Angel Pons | ba9e482a | 2020-01-02 00:22:27 +0100 | [diff] [blame] | 52 | default "EliteBook Revolve 810 G1" if BOARD_HP_REVOLVE_810_G1 |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 53 | |
Angel Pons | 42d3005 | 2020-01-02 00:57:52 +0100 | [diff] [blame^] | 54 | config OVERRIDE_DEVICETREE |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 55 | string |
Angel Pons | 42d3005 | 2020-01-02 00:57:52 +0100 | [diff] [blame^] | 56 | default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb" |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 57 | |
| 58 | config VGA_BIOS_FILE |
| 59 | string |
| 60 | default "pci8086,0116.rom" if SOUTHBRIDGE_INTEL_BD82X6X |
| 61 | default "pci8086,0166.rom" if SOUTHBRIDGE_INTEL_C216 |
| 62 | |
| 63 | config VGA_BIOS_ID |
| 64 | string |
| 65 | default "8086,0116" if SOUTHBRIDGE_INTEL_BD82X6X |
| 66 | default "8086,0166" if SOUTHBRIDGE_INTEL_C216 |
| 67 | |
| 68 | config MAX_CPUS |
| 69 | int |
| 70 | default 8 |
| 71 | |
| 72 | config USBDEBUG_HCD_INDEX |
| 73 | int |
| 74 | default 2 if BOARD_HP_2570P |
Angel Pons | a3580e5 | 2020-01-02 00:04:43 +0100 | [diff] [blame] | 75 | default 1 if BOARD_HP_2760P |
Angel Pons | 5aee826 | 2020-01-02 00:07:08 +0100 | [diff] [blame] | 76 | default 1 if BOARD_HP_8460P |
Angel Pons | e4faf5a | 2020-01-02 00:09:13 +0100 | [diff] [blame] | 77 | default 2 if BOARD_HP_8470P |
Angel Pons | 533e439 | 2020-01-02 00:11:30 +0100 | [diff] [blame] | 78 | default 2 if BOARD_HP_8770W |
Angel Pons | 650a56f | 2020-01-02 00:16:03 +0100 | [diff] [blame] | 79 | default 0 if BOARD_HP_FOLIO_9470M |
Angel Pons | ba9e482a | 2020-01-02 00:22:27 +0100 | [diff] [blame] | 80 | default 2 if BOARD_HP_REVOLVE_810_G1 # FIXME: check this |
Angel Pons | 8abb05a | 2020-01-01 23:57:30 +0100 | [diff] [blame] | 81 | |
| 82 | endif |