Felix Singer | d959a20 | 2018-09-17 01:26:51 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Felix Singer | 483c4fe | 2021-01-03 21:01:38 +0000 | [diff] [blame^] | 3 | config BOARD_CLEVO_KBLU_COMMON |
| 4 | def_bool n |
Felix Singer | d959a20 | 2018-09-17 01:26:51 +0200 | [diff] [blame] | 5 | select BOARD_ROMSIZE_KB_8192 |
| 6 | select EC_ACPI |
| 7 | select HAVE_ACPI_RESUME |
| 8 | select HAVE_ACPI_TABLES |
| 9 | # select HAVE_CMOS_DEFAULT |
| 10 | # select HAVE_SMI_HANDLER |
| 11 | select INTEL_GMA_HAVE_VBT |
| 12 | select INTEL_LPSS_UART_FOR_CONSOLE |
| 13 | select MAINBOARD_HAS_LIBGFXINIT |
| 14 | select MAINBOARD_HAS_LPC_TPM |
| 15 | select MAINBOARD_HAS_TPM2 |
| 16 | select NO_UART_ON_SUPERIO |
| 17 | select SOC_INTEL_COMMON_BLOCK_HDA_VERB |
| 18 | select SOC_INTEL_KABYLAKE |
| 19 | select SPD_READ_BY_WORD |
| 20 | select SYSTEM_TYPE_LAPTOP |
| 21 | |
Felix Singer | 483c4fe | 2021-01-03 21:01:38 +0000 | [diff] [blame^] | 22 | config BOARD_CLEVO_N130WU_OPTIONS |
| 23 | bool |
| 24 | select BOARD_CLEVO_KBLU_COMMON |
| 25 | |
| 26 | if BOARD_CLEVO_KBLU_COMMON |
| 27 | |
Felix Singer | d959a20 | 2018-09-17 01:26:51 +0200 | [diff] [blame] | 28 | config VBOOT |
| 29 | select VBOOT_NO_BOARD_SUPPORT |
| 30 | select GBB_FLAG_DISABLE_LID_SHUTDOWN |
| 31 | select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC |
| 32 | select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC |
| 33 | select GBB_FLAG_DISABLE_FWMP |
| 34 | |
| 35 | config MAINBOARD_DIR |
| 36 | string |
| 37 | default "clevo/kbl-u" |
| 38 | |
| 39 | config VARIANT_DIR |
| 40 | string |
| 41 | default "n13xwu" if BOARD_CLEVO_N130WU |
| 42 | |
| 43 | config MAINBOARD_PART_NUMBER |
| 44 | string |
| 45 | default "N130WU" if BOARD_CLEVO_N130WU |
| 46 | |
| 47 | config CBFS_SIZE |
| 48 | hex |
| 49 | default 0x600000 if BOARD_CLEVO_N130WU |
| 50 | |
| 51 | config DEVICETREE |
| 52 | string |
| 53 | default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb" |
| 54 | |
| 55 | config FMDFILE |
| 56 | string |
| 57 | default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/variants/$(CONFIG_VARIANT_DIR)/fmds/vboot-ro.fmd" if VBOOT && !VBOOT_SLOTS_RW_A |
| 58 | # TODO |
| 59 | # default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/fmds/vboot-roa.fmd" if VBOOT_SLOTS_RW_A && !VBOOT_SLOTS_RW_AB |
| 60 | # default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/fmds/vboot-roab.fmd" if VBOOT_SLOTS_RW_AB |
| 61 | |
| 62 | config MAX_CPUS |
| 63 | int |
| 64 | default 8 |
| 65 | |
| 66 | config DIMM_MAX |
| 67 | int |
| 68 | default 2 |
| 69 | |
| 70 | config DIMM_SPD_SIZE |
| 71 | int |
| 72 | default 512 |
| 73 | |
| 74 | config VGA_BIOS_ID |
| 75 | string |
| 76 | default "8086,5917" if BOARD_CLEVO_N130WU |
| 77 | |
| 78 | config PXE_ROM_ID |
| 79 | string |
| 80 | default "10ec,8168" |
| 81 | |
| 82 | config UART_FOR_CONSOLE |
| 83 | int |
| 84 | default 2 |
| 85 | |
| 86 | config POST_DEVICE |
| 87 | bool |
| 88 | default n |
| 89 | |
| 90 | config CONSOLE_POST |
| 91 | bool |
| 92 | default y |
| 93 | |
| 94 | config LINEAR_FRAMEBUFFER_MAX_WIDTH |
| 95 | int |
| 96 | default 1920 |
| 97 | |
| 98 | config LINEAR_FRAMEBUFFER_MAX_HEIGHT |
| 99 | int |
| 100 | default 1080 |
| 101 | |
| 102 | endif |