Bill XIE | 012ef77 | 2018-11-29 20:37:35 +0800 | [diff] [blame] | 1 | if BOARD_LENOVO_T430S || BOARD_LENOVO_T431S |
Nicolas Reinecke | 29d358e | 2015-01-31 19:20:50 +0100 | [diff] [blame] | 2 | |
Elyes HAOUAS | f0c5be2 | 2018-11-27 20:36:44 +0100 | [diff] [blame] | 3 | config BOARD_SPECIFIC_OPTIONS |
Nicolas Reinecke | 29d358e | 2015-01-31 19:20:50 +0100 | [diff] [blame] | 4 | def_bool y |
| 5 | select SYSTEM_TYPE_LAPTOP |
Nico Huber | 772a154 | 2019-05-10 16:48:14 +0200 | [diff] [blame] | 6 | select NORTHBRIDGE_INTEL_SANDYBRIDGE |
Vladimir Serbinenko | 144eea0 | 2016-02-10 02:36:04 +0100 | [diff] [blame] | 7 | select USE_NATIVE_RAMINIT |
Nicolas Reinecke | 29d358e | 2015-01-31 19:20:50 +0100 | [diff] [blame] | 8 | select SOUTHBRIDGE_INTEL_C216 |
| 9 | select EC_LENOVO_PMH7 |
| 10 | select EC_LENOVO_H8 |
Peter Lemenkov | b470361 | 2022-05-02 17:47:35 +0200 | [diff] [blame] | 11 | select H8_HAS_BAT_THRESHOLDS_IMPL |
Bill XIE | f769ee3 | 2020-05-14 17:25:37 +0800 | [diff] [blame] | 12 | select H8_HAS_PRIMARY_FN_KEYS if BOARD_LENOVO_T431S |
Nicolas Reinecke | 29d358e | 2015-01-31 19:20:50 +0100 | [diff] [blame] | 13 | select NO_UART_ON_SUPERIO |
| 14 | select BOARD_ROMSIZE_KB_16384 |
| 15 | select HAVE_ACPI_TABLES |
| 16 | select HAVE_OPTION_TABLE |
| 17 | select HAVE_CMOS_DEFAULT |
| 18 | select HAVE_ACPI_RESUME |
| 19 | select INTEL_INT15 |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 20 | select MEMORY_MAPPED_TPM |
Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 21 | select MAINBOARD_HAS_TPM1 |
Bill XIE | a0d31d8 | 2017-08-17 00:15:12 +0800 | [diff] [blame] | 22 | select MAINBOARD_HAS_LIBGFXINIT |
Nico Huber | 4ce5290 | 2020-02-15 17:56:01 +0100 | [diff] [blame] | 23 | select GFX_GMA_PANEL_1_ON_LVDS if BOARD_LENOVO_T430S |
Nico Huber | 29cc331 | 2018-06-06 17:40:02 +0200 | [diff] [blame] | 24 | select INTEL_GMA_HAVE_VBT |
Jan Tatje | 83a127a | 2019-01-09 20:39:28 +0100 | [diff] [blame] | 25 | select MAINBOARD_USES_IFD_GBE_REGION |
Kyösti Mälkki | 9389fdf | 2019-08-26 22:23:32 +0300 | [diff] [blame] | 26 | select DRIVERS_RICOH_RCE822 if BOARD_LENOVO_T431S |
Michael Niewöhner | 87cc889 | 2020-09-07 14:26:09 +0200 | [diff] [blame] | 27 | select HAVE_SPD_IN_CBFS if BOARD_LENOVO_T431S |
Nicolas Reinecke | 29d358e | 2015-01-31 19:20:50 +0100 | [diff] [blame] | 28 | |
| 29 | # Workaround for EC/KBC IRQ1. |
| 30 | select SERIRQ_CONTINUOUS_MODE |
| 31 | |
Jonas Moehle | 1f088c8 | 2019-12-25 03:40:51 +0100 | [diff] [blame] | 32 | config VBOOT |
| 33 | select VBOOT_VBNV_CMOS |
| 34 | select GBB_FLAG_DISABLE_LID_SHUTDOWN |
| 35 | select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC |
| 36 | select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC |
| 37 | select GBB_FLAG_DISABLE_FWMP |
| 38 | select HAS_RECOVERY_MRC_CACHE |
| 39 | |
| 40 | config VBOOT_SLOTS_RW_AB |
| 41 | default y |
| 42 | |
| 43 | config VBOOT_VBNV_OFFSET |
| 44 | hex |
| 45 | default 0x2a |
| 46 | |
| 47 | config FMDFILE |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 48 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwab.fmd" if VBOOT |
Jonas Moehle | 1f088c8 | 2019-12-25 03:40:51 +0100 | [diff] [blame] | 49 | |
Nicolas Reinecke | 29d358e | 2015-01-31 19:20:50 +0100 | [diff] [blame] | 50 | config MAINBOARD_DIR |
Patrick Georgi | 0bb8346 | 2019-11-22 20:58:58 +0100 | [diff] [blame] | 51 | default "lenovo/t430s" |
Nicolas Reinecke | 29d358e | 2015-01-31 19:20:50 +0100 | [diff] [blame] | 52 | |
Bill XIE | 012ef77 | 2018-11-29 20:37:35 +0800 | [diff] [blame] | 53 | config VARIANT_DIR |
Bill XIE | 012ef77 | 2018-11-29 20:37:35 +0800 | [diff] [blame] | 54 | default "t430s" if BOARD_LENOVO_T430S |
| 55 | default "t431s" if BOARD_LENOVO_T431S |
| 56 | |
Nicolas Reinecke | 29d358e | 2015-01-31 19:20:50 +0100 | [diff] [blame] | 57 | config MAINBOARD_PART_NUMBER |
Bill XIE | 012ef77 | 2018-11-29 20:37:35 +0800 | [diff] [blame] | 58 | default "ThinkPad T430s" if BOARD_LENOVO_T430S |
| 59 | default "ThinkPad T431s" if BOARD_LENOVO_T431S |
| 60 | |
| 61 | config OVERRIDE_DEVICETREE |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 62 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
Nicolas Reinecke | 29d358e | 2015-01-31 19:20:50 +0100 | [diff] [blame] | 63 | |
Nicolas Reinecke | 29d358e | 2015-01-31 19:20:50 +0100 | [diff] [blame] | 64 | config USBDEBUG_HCD_INDEX |
| 65 | int |
| 66 | default 2 |
| 67 | |
| 68 | config DRAM_RESET_GATE_GPIO |
| 69 | int |
| 70 | default 10 |
| 71 | |
Patrick Rudolph | 8ebb95d | 2016-03-10 20:50:42 +0100 | [diff] [blame] | 72 | config ONBOARD_VGA_IS_PRIMARY |
| 73 | bool |
| 74 | default y |
| 75 | |
dalao | 56a25a9 | 2019-10-27 17:08:34 +0800 | [diff] [blame] | 76 | config PS2K_EISAID |
| 77 | default "PNP0303" |
| 78 | |
| 79 | config PS2M_EISAID |
| 80 | default "LEN0015" |
| 81 | |
Bill XIE | 012ef77 | 2018-11-29 20:37:35 +0800 | [diff] [blame] | 82 | endif # BOARD_LENOVO_T430S || BOARD_LENOVO_T431S |