Tim Crawford | 67772d2 | 2021-09-20 10:34:14 -0600 | [diff] [blame] | 1 | if BOARD_SYSTEM76_ADDW1 || BOARD_SYSTEM76_ADDW2 |
Tim Crawford | 6a93a45 | 2021-09-20 10:18:02 -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 | 6a93a45 | 2021-09-20 10:18:02 -0600 | [diff] [blame] | 8 | select DRIVERS_I2C_HID |
| 9 | select DRIVERS_I2C_TAS5825M |
| 10 | select EC_SYSTEM76_EC |
Tim Crawford | 34b70fd | 2021-11-17 21:01:20 -0700 | [diff] [blame] | 11 | select EC_SYSTEM76_EC_DGPU |
Tim Crawford | 6a93a45 | 2021-09-20 10:18:02 -0600 | [diff] [blame] | 12 | select EC_SYSTEM76_EC_OLED |
| 13 | select HAVE_ACPI_RESUME |
| 14 | select HAVE_ACPI_TABLES |
| 15 | select HAVE_CMOS_DEFAULT |
| 16 | select HAVE_OPTION_TABLE |
| 17 | select INTEL_GMA_HAVE_VBT |
| 18 | select INTEL_LPSS_UART_FOR_CONSOLE |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 19 | select MEMORY_MAPPED_TPM |
Tim Crawford | 6a93a45 | 2021-09-20 10:18:02 -0600 | [diff] [blame] | 20 | select MAINBOARD_HAS_TPM2 |
| 21 | select NO_UART_ON_SUPERIO |
| 22 | select PCIEXP_HOTPLUG |
| 23 | select SOC_INTEL_CANNONLAKE_PCH_H |
| 24 | select SOC_INTEL_COFFEELAKE if BOARD_SYSTEM76_ADDW1 |
Tim Crawford | 67772d2 | 2021-09-20 10:34:14 -0600 | [diff] [blame] | 25 | select SOC_INTEL_COMETLAKE_1 if BOARD_SYSTEM76_ADDW2 |
Tim Crawford | 6a93a45 | 2021-09-20 10:18:02 -0600 | [diff] [blame] | 26 | select SOC_INTEL_COMMON_BLOCK_HDA_VERB |
| 27 | select SPD_READ_BY_WORD |
| 28 | select SYSTEM_TYPE_LAPTOP |
Tim Crawford | c7018cc | 2021-12-07 13:12:26 -0700 | [diff] [blame] | 29 | select TPM_MEASURED_BOOT |
Tim Crawford | 6a93a45 | 2021-09-20 10:18:02 -0600 | [diff] [blame] | 30 | select TPM_RDRESP_NEED_DELAY |
| 31 | |
| 32 | config MAINBOARD_DIR |
| 33 | default "system76/addw1" |
| 34 | |
| 35 | config VARIANT_DIR |
| 36 | default "addw1" if BOARD_SYSTEM76_ADDW1 |
Tim Crawford | 67772d2 | 2021-09-20 10:34:14 -0600 | [diff] [blame] | 37 | default "addw2" if BOARD_SYSTEM76_ADDW2 |
Tim Crawford | 6a93a45 | 2021-09-20 10:18:02 -0600 | [diff] [blame] | 38 | |
| 39 | config OVERRIDE_DEVICETREE |
| 40 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 41 | |
| 42 | config MAINBOARD_PART_NUMBER |
| 43 | default "addw1" if BOARD_SYSTEM76_ADDW1 |
Tim Crawford | 67772d2 | 2021-09-20 10:34:14 -0600 | [diff] [blame] | 44 | default "addw2" if BOARD_SYSTEM76_ADDW2 |
Tim Crawford | 6a93a45 | 2021-09-20 10:18:02 -0600 | [diff] [blame] | 45 | |
| 46 | config MAINBOARD_SMBIOS_PRODUCT_NAME |
| 47 | default "Adder WS" |
| 48 | |
| 49 | config MAINBOARD_VERSION |
| 50 | default "addw1" if BOARD_SYSTEM76_ADDW1 |
Tim Crawford | 67772d2 | 2021-09-20 10:34:14 -0600 | [diff] [blame] | 51 | default "addw2" if BOARD_SYSTEM76_ADDW2 |
Tim Crawford | 6a93a45 | 2021-09-20 10:18:02 -0600 | [diff] [blame] | 52 | |
| 53 | config CBFS_SIZE |
Tim Crawford | ca75c8f | 2023-07-12 16:52:25 -0600 | [diff] [blame] | 54 | default 0xa00000 if BOARD_SYSTEM76_ADDW1 |
| 55 | default 0xc00000 |
Tim Crawford | 6a93a45 | 2021-09-20 10:18:02 -0600 | [diff] [blame] | 56 | |
| 57 | config CONSOLE_POST |
| 58 | default y |
| 59 | |
| 60 | config ONBOARD_VGA_IS_PRIMARY |
| 61 | default y |
| 62 | |
| 63 | config UART_FOR_CONSOLE |
| 64 | default 2 |
| 65 | |
| 66 | config DIMM_MAX |
| 67 | default 2 |
| 68 | |
| 69 | config POST_DEVICE |
| 70 | default n |
| 71 | |
| 72 | endif |