Jeremy Soller | c840bc4 | 2021-08-06 11:03:09 -0600 | [diff] [blame] | 1 | if BOARD_SYSTEM76_ORYP6 || BOARD_SYSTEM76_ORYP7 |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 2 | |
| 3 | config BOARD_SPECIFIC_OPTIONS |
| 4 | def_bool y |
| 5 | select BOARD_ROMSIZE_KB_16384 |
Tim Crawford | 2f862d3 | 2023-06-27 14:43:03 -0600 | [diff] [blame] | 6 | select DRIVERS_GENERIC_CBFS_SERIAL |
| 7 | select DRIVERS_GENERIC_CBFS_UUID |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 8 | select DRIVERS_I2C_HID |
Tim Crawford | 0baf758 | 2021-04-16 10:38:35 -0600 | [diff] [blame] | 9 | select DRIVERS_I2C_TAS5825M |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 10 | select EC_SYSTEM76_EC |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 11 | select EC_SYSTEM76_EC_COLOR_KEYBOARD |
Tim Crawford | 34b70fd | 2021-11-17 21:01:20 -0700 | [diff] [blame] | 12 | select EC_SYSTEM76_EC_DGPU |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 13 | select HAVE_ACPI_RESUME |
| 14 | select HAVE_ACPI_TABLES |
Tim Crawford | 9f7e9cb | 2021-08-09 16:55:07 -0600 | [diff] [blame] | 15 | select HAVE_CMOS_DEFAULT |
| 16 | select HAVE_OPTION_TABLE |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 17 | select INTEL_GMA_HAVE_VBT |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 18 | select MEMORY_MAPPED_TPM |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 19 | select MAINBOARD_HAS_TPM2 |
| 20 | select NO_UART_ON_SUPERIO |
| 21 | select PCIEXP_HOTPLUG |
| 22 | select PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G # Fix running out of MTRRs |
| 23 | select SOC_INTEL_CANNONLAKE_PCH_H |
| 24 | select SOC_INTEL_COMETLAKE_1 |
| 25 | select SOC_INTEL_COMMON_BLOCK_HDA_VERB |
| 26 | select SPD_READ_BY_WORD |
| 27 | select SYSTEM_TYPE_LAPTOP |
Tim Crawford | c7018cc | 2021-12-07 13:12:26 -0700 | [diff] [blame] | 28 | select TPM_MEASURED_BOOT |
Jeremy Soller | c840bc4 | 2021-08-06 11:03:09 -0600 | [diff] [blame] | 29 | select TPM_RDRESP_NEED_DELAY |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 30 | |
| 31 | config MAINBOARD_DIR |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 32 | default "system76/oryp6" |
| 33 | |
Tim Crawford | c1481e0 | 2021-09-20 12:34:26 -0600 | [diff] [blame] | 34 | config VARIANT_DIR |
| 35 | default "oryp6" if BOARD_SYSTEM76_ORYP6 |
Jeremy Soller | c840bc4 | 2021-08-06 11:03:09 -0600 | [diff] [blame] | 36 | default "oryp7" if BOARD_SYSTEM76_ORYP7 |
Tim Crawford | c1481e0 | 2021-09-20 12:34:26 -0600 | [diff] [blame] | 37 | |
| 38 | config OVERRIDE_DEVICETREE |
| 39 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 40 | |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 41 | config MAINBOARD_PART_NUMBER |
Tim Crawford | c1481e0 | 2021-09-20 12:34:26 -0600 | [diff] [blame] | 42 | default "oryp6" if BOARD_SYSTEM76_ORYP6 |
Jeremy Soller | c840bc4 | 2021-08-06 11:03:09 -0600 | [diff] [blame] | 43 | default "oryp7" if BOARD_SYSTEM76_ORYP7 |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 44 | |
| 45 | config MAINBOARD_SMBIOS_PRODUCT_NAME |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 46 | default "Oryx Pro" |
| 47 | |
| 48 | config MAINBOARD_VERSION |
Tim Crawford | c1481e0 | 2021-09-20 12:34:26 -0600 | [diff] [blame] | 49 | default "oryp6" if BOARD_SYSTEM76_ORYP6 |
Jeremy Soller | c840bc4 | 2021-08-06 11:03:09 -0600 | [diff] [blame] | 50 | default "oryp7" if BOARD_SYSTEM76_ORYP7 |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 51 | |
| 52 | config CBFS_SIZE |
Tim Crawford | ca75c8f | 2023-07-12 16:52:25 -0600 | [diff] [blame^] | 53 | default 0xc00000 |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 54 | |
| 55 | config CONSOLE_POST |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 56 | default y |
| 57 | |
| 58 | config ONBOARD_VGA_IS_PRIMARY |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 59 | default y |
| 60 | |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 61 | config DIMM_MAX |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 62 | default 2 |
| 63 | |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 64 | config VGA_BIOS_ID |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 65 | default "8086,9bc4" |
| 66 | |
| 67 | config POST_DEVICE |
Tim Crawford | 109c4d0 | 2021-03-31 19:25:14 -0600 | [diff] [blame] | 68 | default n |
| 69 | |
| 70 | endif |