Martin Roth | 9712f10 | 2024-02-16 11:02:19 -0700 | [diff] [blame^] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Tim Crawford | 8e3787e | 2022-09-29 12:11:34 -0600 | [diff] [blame] | 3 | if BOARD_SYSTEM76_GAZE16_3050 || BOARD_SYSTEM76_GAZE16_3060 || BOARD_SYSTEM76_GAZE16_3060_B || BOARD_SYSTEM76_ORYP8 |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 4 | |
| 5 | config BOARD_SPECIFIC_OPTIONS |
| 6 | def_bool y |
| 7 | select BOARD_ROMSIZE_KB_16384 |
Tim Crawford | 6137431 | 2023-10-16 15:45:45 -0600 | [diff] [blame] | 8 | select DRIVERS_GENERIC_BAYHUB_LV2 |
Tim Crawford | 2f862d3 | 2023-06-27 14:43:03 -0600 | [diff] [blame] | 9 | select DRIVERS_GENERIC_CBFS_SERIAL |
| 10 | select DRIVERS_GENERIC_CBFS_UUID |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 11 | select DRIVERS_I2C_HID |
Tim Crawford | 8e3787e | 2022-09-29 12:11:34 -0600 | [diff] [blame] | 12 | select DRIVERS_I2C_TAS5825M if BOARD_SYSTEM76_ORYP8 |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 13 | select EC_SYSTEM76_EC |
Tim Crawford | 34b70fd | 2021-11-17 21:01:20 -0700 | [diff] [blame] | 14 | select EC_SYSTEM76_EC_DGPU |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 15 | select HAVE_ACPI_RESUME |
| 16 | select HAVE_ACPI_TABLES |
| 17 | select HAVE_CMOS_DEFAULT |
| 18 | select HAVE_OPTION_TABLE |
| 19 | select INTEL_GMA_HAVE_VBT |
| 20 | select INTEL_LPSS_UART_FOR_CONSOLE |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 21 | select MEMORY_MAPPED_TPM |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 22 | select MAINBOARD_HAS_TPM2 |
| 23 | select MAINBOARD_USES_IFD_GBE_REGION if BOARD_SYSTEM76_GAZE16_3060_B |
| 24 | select NO_UART_ON_SUPERIO |
Tim Crawford | 8e3787e | 2022-09-29 12:11:34 -0600 | [diff] [blame] | 25 | select PCIEXP_HOTPLUG if BOARD_SYSTEM76_ORYP8 |
| 26 | select PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G if BOARD_SYSTEM76_ORYP8 |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 27 | select SOC_INTEL_TIGERLAKE |
| 28 | select SOC_INTEL_TIGERLAKE_PCH_H |
| 29 | select SOC_INTEL_COMMON_BLOCK_HDA_VERB |
| 30 | select SPD_READ_BY_WORD |
| 31 | select SYSTEM_TYPE_LAPTOP |
Tim Crawford | c7018cc | 2021-12-07 13:12:26 -0700 | [diff] [blame] | 32 | select TPM_MEASURED_BOOT |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 33 | select TPM_RDRESP_NEED_DELAY |
| 34 | |
| 35 | config MAINBOARD_DIR |
Tim Crawford | c16bd3c | 2022-09-29 11:57:53 -0600 | [diff] [blame] | 36 | default "system76/tgl-h" |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 37 | |
| 38 | config MAINBOARD_PART_NUMBER |
| 39 | default "gaze16-3050" if BOARD_SYSTEM76_GAZE16_3050 |
| 40 | default "gaze16-3060" if BOARD_SYSTEM76_GAZE16_3060 |
| 41 | default "gaze16-3060-b" if BOARD_SYSTEM76_GAZE16_3060_B |
Tim Crawford | 8e3787e | 2022-09-29 12:11:34 -0600 | [diff] [blame] | 42 | default "oryp8" if BOARD_SYSTEM76_ORYP8 |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 43 | |
| 44 | config MAINBOARD_SMBIOS_PRODUCT_NAME |
Tim Crawford | 8e3787e | 2022-09-29 12:11:34 -0600 | [diff] [blame] | 45 | default "Oryx Pro" if BOARD_SYSTEM76_ORYP8 |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 46 | default "Gazelle" |
| 47 | |
| 48 | config MAINBOARD_VERSION |
| 49 | default "gaze16-3050" if BOARD_SYSTEM76_GAZE16_3050 |
| 50 | default "gaze16-3060" if BOARD_SYSTEM76_GAZE16_3060 |
| 51 | default "gaze16-3060-b" if BOARD_SYSTEM76_GAZE16_3060_B |
Tim Crawford | 8e3787e | 2022-09-29 12:11:34 -0600 | [diff] [blame] | 52 | default "oryp8" if BOARD_SYSTEM76_ORYP8 |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 53 | |
| 54 | config VARIANT_DIR |
Tim Crawford | a8cf2f2 | 2022-07-26 13:47:15 -0600 | [diff] [blame] | 55 | default "gaze16-3050" if BOARD_SYSTEM76_GAZE16_3050 |
| 56 | default "gaze16-3060" if BOARD_SYSTEM76_GAZE16_3060 || BOARD_SYSTEM76_GAZE16_3060_B |
Tim Crawford | 8e3787e | 2022-09-29 12:11:34 -0600 | [diff] [blame] | 57 | default "oryp8" if BOARD_SYSTEM76_ORYP8 |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 58 | |
| 59 | config OVERRIDE_DEVICETREE |
| 60 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 61 | |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 62 | config CONSOLE_POST |
| 63 | default y |
| 64 | |
Tim Crawford | 56c09fb | 2023-06-27 15:47:19 -0600 | [diff] [blame] | 65 | config FMDFILE |
| 66 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/board.fmd" if !MAINBOARD_USES_IFD_GBE_REGION |
| 67 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/board-gbe.fmd" if MAINBOARD_USES_IFD_GBE_REGION |
| 68 | |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 69 | config ONBOARD_VGA_IS_PRIMARY |
| 70 | default y |
| 71 | |
| 72 | config POST_DEVICE |
| 73 | default n |
| 74 | |
| 75 | config UART_FOR_CONSOLE |
| 76 | default 2 |
| 77 | |
| 78 | # PM Timer Disabled, saves power |
| 79 | config USE_PM_ACPI_TIMER |
| 80 | default n |
| 81 | |
Tim Crawford | 46b63bb | 2023-06-27 10:09:28 -0600 | [diff] [blame] | 82 | config D3COLD_SUPPORT |
| 83 | default n |
| 84 | |
Jeremy Soller | 8065c6d | 2021-11-01 14:07:07 -0600 | [diff] [blame] | 85 | endif |