Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 1 | config BOARD_SYSTEM76_RPL_COMMON |
| 2 | def_bool n |
| 3 | select BOARD_ROMSIZE_KB_32768 |
Tim Crawford | 2f862d3 | 2023-06-27 14:43:03 -0600 | [diff] [blame] | 4 | select DRIVERS_GENERIC_CBFS_SERIAL |
| 5 | select DRIVERS_GENERIC_CBFS_UUID |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 6 | select DRIVERS_I2C_HID |
| 7 | select EC_SYSTEM76_EC |
| 8 | select HAVE_ACPI_RESUME |
| 9 | select HAVE_ACPI_TABLES |
| 10 | select HAVE_CMOS_DEFAULT |
| 11 | select HAVE_OPTION_TABLE |
| 12 | select INTEL_GMA_HAVE_VBT |
| 13 | select INTEL_LPSS_UART_FOR_CONSOLE |
| 14 | select MAINBOARD_HAS_TPM2 |
| 15 | select MEMORY_MAPPED_TPM |
| 16 | select NO_UART_ON_SUPERIO |
| 17 | select PCIEXP_SUPPORT_RESIZABLE_BARS |
| 18 | select SOC_INTEL_COMMON_BLOCK_HDA_VERB |
| 19 | select SOC_INTEL_CRASHLOG |
| 20 | select SOC_INTEL_RAPTORLAKE |
| 21 | select SPD_READ_BY_WORD |
| 22 | select SYSTEM_TYPE_LAPTOP |
| 23 | select TPM_RDRESP_NEED_DELAY |
| 24 | |
Jeremy Soller | 1611f93 | 2023-06-21 09:41:48 -0600 | [diff] [blame^] | 25 | config BOARD_SYSTEM76_ADDW3 |
| 26 | select BOARD_SYSTEM76_RPL_COMMON |
| 27 | select EC_SYSTEM76_EC_COLOR_KEYBOARD |
| 28 | select EC_SYSTEM76_EC_DGPU |
| 29 | select MAINBOARD_USES_IFD_GBE_REGION |
| 30 | select PCIEXP_HOTPLUG |
| 31 | select SOC_INTEL_ALDERLAKE_PCH_S |
| 32 | |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 33 | config BOARD_SYSTEM76_GAZE18 |
| 34 | select BOARD_SYSTEM76_RPL_COMMON |
| 35 | select EC_SYSTEM76_EC_COLOR_KEYBOARD |
| 36 | select EC_SYSTEM76_EC_DGPU |
| 37 | select SOC_INTEL_ALDERLAKE_PCH_P |
| 38 | |
Jeremy Soller | 6cb18a5 | 2023-06-23 16:01:24 -0600 | [diff] [blame] | 39 | config BOARD_SYSTEM76_ORYP11 |
| 40 | select BOARD_SYSTEM76_RPL_COMMON |
| 41 | select EC_SYSTEM76_EC_COLOR_KEYBOARD |
| 42 | select EC_SYSTEM76_EC_DGPU |
| 43 | select SOC_INTEL_ALDERLAKE_PCH_P |
| 44 | select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES |
| 45 | |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 46 | if BOARD_SYSTEM76_RPL_COMMON |
| 47 | |
| 48 | config MAINBOARD_DIR |
| 49 | default "system76/rpl" |
| 50 | |
| 51 | config VARIANT_DIR |
Jeremy Soller | 1611f93 | 2023-06-21 09:41:48 -0600 | [diff] [blame^] | 52 | default "addw3" if BOARD_SYSTEM76_ADDW3 |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 53 | default "gaze18" if BOARD_SYSTEM76_GAZE18 |
Jeremy Soller | 6cb18a5 | 2023-06-23 16:01:24 -0600 | [diff] [blame] | 54 | default "oryp11" if BOARD_SYSTEM76_ORYP11 |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 55 | |
| 56 | config OVERRIDE_DEVICETREE |
| 57 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 58 | |
| 59 | config MAINBOARD_PART_NUMBER |
Jeremy Soller | 1611f93 | 2023-06-21 09:41:48 -0600 | [diff] [blame^] | 60 | default "addw3" if BOARD_SYSTEM76_ADDW3 |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 61 | default "gaze18" if BOARD_SYSTEM76_GAZE18 |
Jeremy Soller | 6cb18a5 | 2023-06-23 16:01:24 -0600 | [diff] [blame] | 62 | default "oryp11" if BOARD_SYSTEM76_ORYP11 |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 63 | |
| 64 | config MAINBOARD_SMBIOS_PRODUCT_NAME |
Jeremy Soller | 1611f93 | 2023-06-21 09:41:48 -0600 | [diff] [blame^] | 65 | default "Adder WS" if BOARD_SYSTEM76_ADDW3 |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 66 | default "Gazelle" if BOARD_SYSTEM76_GAZE18 |
Jeremy Soller | 6cb18a5 | 2023-06-23 16:01:24 -0600 | [diff] [blame] | 67 | default "Oryx Pro" if BOARD_SYSTEM76_ORYP11 |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 68 | |
| 69 | config MAINBOARD_VERSION |
Jeremy Soller | 1611f93 | 2023-06-21 09:41:48 -0600 | [diff] [blame^] | 70 | default "addw3" if BOARD_SYSTEM76_ADDW3 |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 71 | default "gaze18" if BOARD_SYSTEM76_GAZE18 |
Jeremy Soller | 6cb18a5 | 2023-06-23 16:01:24 -0600 | [diff] [blame] | 72 | default "oryp11" if BOARD_SYSTEM76_ORYP11 |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 73 | |
| 74 | config CONSOLE_POST |
| 75 | default y |
| 76 | |
| 77 | config D3COLD_SUPPORT |
| 78 | default n |
| 79 | |
| 80 | config DIMM_SPD_SIZE |
| 81 | default 512 |
| 82 | |
| 83 | config FMDFILE |
| 84 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/board.fmd" |
| 85 | |
| 86 | config ONBOARD_VGA_IS_PRIMARY |
| 87 | default y |
| 88 | |
| 89 | config PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS |
| 90 | default 36 |
| 91 | |
| 92 | config POST_DEVICE |
| 93 | default n |
| 94 | |
| 95 | config TPM_MEASURED_BOOT |
| 96 | default y |
| 97 | |
| 98 | config UART_FOR_CONSOLE |
Jeremy Soller | 1611f93 | 2023-06-21 09:41:48 -0600 | [diff] [blame^] | 99 | default 0 if SOC_INTEL_ALDERLAKE_PCH_P |
| 100 | default 2 if SOC_INTEL_ALDERLAKE_PCH_S |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 101 | |
| 102 | # PM Timer Disabled, saves power |
| 103 | config USE_PM_ACPI_TIMER |
| 104 | default n |
| 105 | |
| 106 | endif |