Martin Roth | 9712f10 | 2024-02-16 11:02:19 -0700 | [diff] [blame^] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Felix Singer | 402fe20 | 2019-02-12 22:22:42 +0100 | [diff] [blame] | 3 | if BOARD_UP_SQUARED |
| 4 | |
| 5 | config BOARD_SPECIFIC_OPTIONS |
| 6 | def_bool y |
Felix Singer | 402fe20 | 2019-02-12 22:22:42 +0100 | [diff] [blame] | 7 | select HAVE_ACPI_TABLES |
| 8 | select HAVE_ACPI_RESUME |
| 9 | select INTEL_GMA_HAVE_VBT |
| 10 | select INTEL_LPSS_UART_FOR_CONSOLE |
| 11 | select SOC_INTEL_APOLLOLAKE |
| 12 | select BOARD_ROMSIZE_KB_16384 |
| 13 | select ONBOARD_VGA_IS_PRIMARY |
| 14 | select MAINBOARD_HAS_LIBGFXINIT |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 15 | select CRB_TPM |
Christian Walter | b8f1bd7 | 2019-07-19 10:30:46 +0200 | [diff] [blame] | 16 | select HAVE_INTEL_PTT |
Patrick Rudolph | 90c27e9 | 2021-01-13 16:58:01 +0100 | [diff] [blame] | 17 | select NO_UART_ON_SUPERIO |
Felix Singer | 402fe20 | 2019-02-12 22:22:42 +0100 | [diff] [blame] | 18 | |
| 19 | config VBOOT |
| 20 | select VBOOT_NO_BOARD_SUPPORT |
| 21 | select GBB_FLAG_DISABLE_LID_SHUTDOWN |
| 22 | select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC |
| 23 | select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC |
| 24 | select GBB_FLAG_DISABLE_FWMP |
| 25 | |
| 26 | config GBB_HWID |
| 27 | string |
| 28 | depends on VBOOT |
| 29 | default "UPSQUARED" |
| 30 | |
| 31 | config MAINBOARD_DIR |
Felix Singer | 402fe20 | 2019-02-12 22:22:42 +0100 | [diff] [blame] | 32 | default "up/squared" |
| 33 | |
| 34 | config MAINBOARD_VENDOR |
| 35 | string |
| 36 | default "Up" |
| 37 | |
| 38 | config MAINBOARD_PART_NUMBER |
Felix Singer | 402fe20 | 2019-02-12 22:22:42 +0100 | [diff] [blame] | 39 | default "Squared" |
| 40 | |
| 41 | config FMDFILE |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 42 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/upsquared.fmd" if !VBOOT |
| 43 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-ro.fmd" if !VBOOT_SLOTS_RW_A |
| 44 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-roa.fmd" if VBOOT_SLOTS_RW_A && !VBOOT_SLOTS_RW_AB |
| 45 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-roab.fmd" if VBOOT_SLOTS_RW_AB |
Felix Singer | 402fe20 | 2019-02-12 22:22:42 +0100 | [diff] [blame] | 46 | |
Felix Singer | 402fe20 | 2019-02-12 22:22:42 +0100 | [diff] [blame] | 47 | config VGA_BIOS_ID |
| 48 | string |
| 49 | default "8086,5a85" |
| 50 | |
| 51 | config PXE_ROM_ID |
| 52 | string |
| 53 | default "10ec,8168" |
| 54 | |
Felix Singer | b6b5e7f | 2019-06-25 15:17:30 +0200 | [diff] [blame] | 55 | config LINUX_COMMAND_LINE |
| 56 | string |
| 57 | default "console=ttyS4,115200 earlyprintk=ttyS4,115200,keep" if PAYLOAD_LINUXBOOT && UART_FOR_CONSOLE=0 |
| 58 | |
Felix Singer | 402fe20 | 2019-02-12 22:22:42 +0100 | [diff] [blame] | 59 | config UART_FOR_CONSOLE |
| 60 | int |
| 61 | default 0 |
| 62 | |
| 63 | config IFWI_FMAP_NAME |
| 64 | string |
| 65 | default "IFWI" |
| 66 | |
| 67 | config POST_IO |
| 68 | bool |
| 69 | default n |
| 70 | |
| 71 | config POST_DEVICE |
| 72 | bool |
| 73 | default n |
| 74 | |
| 75 | config CONSOLE_POST |
| 76 | bool |
| 77 | default y |
| 78 | |
| 79 | endif |