blob: 1229fa4b3ee62858a4a91e2c270f98abe032a366 [file] [log] [blame]
Felix Singerd959a202018-09-17 01:26:51 +02001# SPDX-License-Identifier: GPL-2.0-only
2
Felix Singer483c4fe2021-01-03 21:01:38 +00003config BOARD_CLEVO_KBLU_COMMON
4 def_bool n
Felix Singerd959a202018-09-17 01:26:51 +02005 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 Singer483c4fe2021-01-03 21:01:38 +000022config BOARD_CLEVO_N130WU_OPTIONS
23 bool
24 select BOARD_CLEVO_KBLU_COMMON
25
26if BOARD_CLEVO_KBLU_COMMON
27
Felix Singerd959a202018-09-17 01:26:51 +020028config 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
35config MAINBOARD_DIR
36 string
37 default "clevo/kbl-u"
38
39config VARIANT_DIR
40 string
41 default "n13xwu" if BOARD_CLEVO_N130WU
42
43config MAINBOARD_PART_NUMBER
44 string
45 default "N130WU" if BOARD_CLEVO_N130WU
46
47config CBFS_SIZE
48 hex
49 default 0x600000 if BOARD_CLEVO_N130WU
50
51config DEVICETREE
52 string
53 default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
54
55config 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
62config MAX_CPUS
63 int
64 default 8
65
66config DIMM_MAX
67 int
68 default 2
69
70config DIMM_SPD_SIZE
71 int
72 default 512
73
74config VGA_BIOS_ID
75 string
76 default "8086,5917" if BOARD_CLEVO_N130WU
77
78config PXE_ROM_ID
79 string
80 default "10ec,8168"
81
82config UART_FOR_CONSOLE
83 int
84 default 2
85
86config POST_DEVICE
87 bool
88 default n
89
90config CONSOLE_POST
91 bool
92 default y
93
94config LINEAR_FRAMEBUFFER_MAX_WIDTH
95 int
96 default 1920
97
98config LINEAR_FRAMEBUFFER_MAX_HEIGHT
99 int
100 default 1080
101
102endif