Tim Crawford | 9623f7b | 2021-03-26 15:23:26 -0600 | [diff] [blame] | 1 | if BOARD_SYSTEM76_GALP3_C || BOARD_SYSTEM76_DARP5 |
Tim Crawford | 3647e86 | 2021-03-25 16:40:53 -0600 | [diff] [blame] | 2 | |
| 3 | config BOARD_SPECIFIC_OPTIONS |
| 4 | def_bool y |
| 5 | select BOARD_ROMSIZE_KB_16384 |
| 6 | select DRIVERS_I2C_HID |
| 7 | select EC_SYSTEM76_EC |
| 8 | select EC_SYSTEM76_EC_BAT_THRESHOLDS |
Tim Crawford | 9623f7b | 2021-03-26 15:23:26 -0600 | [diff] [blame] | 9 | select EC_SYSTEM76_EC_COLOR_KEYBOARD if BOARD_SYSTEM76_DARP5 |
Tim Crawford | 3647e86 | 2021-03-25 16:40:53 -0600 | [diff] [blame] | 10 | select HAVE_ACPI_RESUME |
| 11 | select HAVE_ACPI_TABLES |
| 12 | select INTEL_GMA_HAVE_VBT |
| 13 | select INTEL_LPSS_UART_FOR_CONSOLE |
| 14 | select MAINBOARD_HAS_LPC_TPM |
| 15 | select MAINBOARD_HAS_TPM2 |
| 16 | select NO_UART_ON_SUPERIO |
| 17 | select PCIEXP_HOTPLUG |
| 18 | select PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G # Fix running out of MTRRs |
| 19 | select SOC_INTEL_COMMON_BLOCK_HDA_VERB |
| 20 | select SOC_INTEL_WHISKEYLAKE |
| 21 | select SPD_READ_BY_WORD |
| 22 | select SYSTEM_TYPE_LAPTOP |
| 23 | |
| 24 | config MAINBOARD_DIR |
| 25 | string |
| 26 | default "system76/whl-u" |
| 27 | |
| 28 | config VARIANT_DIR |
| 29 | string |
| 30 | default "galp3-c" if BOARD_SYSTEM76_GALP3_C |
Tim Crawford | 9623f7b | 2021-03-26 15:23:26 -0600 | [diff] [blame] | 31 | default "darp5" if BOARD_SYSTEM76_DARP5 |
Tim Crawford | 3647e86 | 2021-03-25 16:40:53 -0600 | [diff] [blame] | 32 | |
| 33 | config OVERRIDE_DEVICETREE |
| 34 | string |
Patrick Georgi | 46bee3f | 2021-06-28 18:16:11 +0200 | [diff] [blame] | 35 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
Tim Crawford | 3647e86 | 2021-03-25 16:40:53 -0600 | [diff] [blame] | 36 | |
| 37 | config MAINBOARD_PART_NUMBER |
| 38 | string |
| 39 | default "galp3-c" if BOARD_SYSTEM76_GALP3_C |
Tim Crawford | 9623f7b | 2021-03-26 15:23:26 -0600 | [diff] [blame] | 40 | default "darp5" if BOARD_SYSTEM76_DARP5 |
Tim Crawford | 3647e86 | 2021-03-25 16:40:53 -0600 | [diff] [blame] | 41 | |
| 42 | config MAINBOARD_SMBIOS_PRODUCT_NAME |
| 43 | string |
| 44 | default "Galago Pro" if BOARD_SYSTEM76_GALP3_C |
Tim Crawford | 9623f7b | 2021-03-26 15:23:26 -0600 | [diff] [blame] | 45 | default "Darter Pro" if BOARD_SYSTEM76_DARP5 |
Tim Crawford | 3647e86 | 2021-03-25 16:40:53 -0600 | [diff] [blame] | 46 | |
| 47 | config MAINBOARD_VERSION |
| 48 | string |
| 49 | default "galp3-c" if BOARD_SYSTEM76_GALP3_C |
Tim Crawford | 9623f7b | 2021-03-26 15:23:26 -0600 | [diff] [blame] | 50 | default "darp5" if BOARD_SYSTEM76_DARP5 |
Tim Crawford | 3647e86 | 2021-03-25 16:40:53 -0600 | [diff] [blame] | 51 | |
| 52 | config CBFS_SIZE |
| 53 | hex |
| 54 | default 0xA00000 |
| 55 | |
| 56 | config CONSOLE_POST |
| 57 | bool |
| 58 | default y |
| 59 | |
| 60 | config ONBOARD_VGA_IS_PRIMARY |
| 61 | bool |
| 62 | default y |
| 63 | |
| 64 | config UART_FOR_CONSOLE |
| 65 | int |
| 66 | default 2 |
| 67 | |
| 68 | config MAX_CPUS |
| 69 | int |
| 70 | default 8 |
| 71 | |
| 72 | config DIMM_MAX |
| 73 | int |
| 74 | default 2 |
| 75 | |
Tim Crawford | 3647e86 | 2021-03-25 16:40:53 -0600 | [diff] [blame] | 76 | config POST_DEVICE |
| 77 | bool |
| 78 | default n |
| 79 | |
| 80 | endif |