summaryrefslogtreecommitdiff
path: root/src/mainboard/clevo/kbl-u/Kconfig
diff options
context:
space:
mode:
authorFelix Singer <migy@darmstadt.ccc.de>2018-09-17 01:26:51 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-11-20 11:57:11 +0000
commitd959a201148dc753fcd7ba1034b78075bf779410 (patch)
treee40ba3abda8af13a5480c9c34035d90696b0b423 /src/mainboard/clevo/kbl-u/Kconfig
parent3622c0bf10ef273c7b530879d1a1af738d65ae66 (diff)
mb/clevo/kbl-u: Add Clevo N130WU/N131WU
Working: - TianoCore - NVMe, SATA3 - USB2, USB3 - Thunderbolt - Graphics (GOP and libgfxinit) - Sound - Webcam - WLAN, LAN, Bluetooth, LTE - Keyboard, touchpad - TPM - flashrom support; reading / flashing from Linux - ACPI S3 WIP: - Documentation Not working: - EC ACPI (e.g. Fn keys, battery and power information) Boots Arch Linux (Linux 5.8.12) successfully. Change-Id: I364f5849ef88f43b85efbd7a635a27e54d08c513 Signed-off-by: Felix Singer <felixsinger@posteo.net> Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/28640 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/clevo/kbl-u/Kconfig')
-rw-r--r--src/mainboard/clevo/kbl-u/Kconfig98
1 files changed, 98 insertions, 0 deletions
diff --git a/src/mainboard/clevo/kbl-u/Kconfig b/src/mainboard/clevo/kbl-u/Kconfig
new file mode 100644
index 0000000000..ed0600a018
--- /dev/null
+++ b/src/mainboard/clevo/kbl-u/Kconfig
@@ -0,0 +1,98 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+if BOARD_CLEVO_N130WU
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOARD_ROMSIZE_KB_8192
+ select EC_ACPI
+ select HAVE_ACPI_RESUME
+ select HAVE_ACPI_TABLES
+# select HAVE_CMOS_DEFAULT
+# select HAVE_SMI_HANDLER
+ select INTEL_GMA_HAVE_VBT
+ select INTEL_LPSS_UART_FOR_CONSOLE
+ select MAINBOARD_HAS_LIBGFXINIT
+ select MAINBOARD_HAS_LPC_TPM
+ select MAINBOARD_HAS_TPM2
+ select NO_UART_ON_SUPERIO
+ select SOC_INTEL_COMMON_BLOCK_HDA_VERB
+ select SOC_INTEL_KABYLAKE
+ select SPD_READ_BY_WORD
+ select SYSTEM_TYPE_LAPTOP
+
+config VBOOT
+ select VBOOT_NO_BOARD_SUPPORT
+ select GBB_FLAG_DISABLE_LID_SHUTDOWN
+ select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
+ select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
+ select GBB_FLAG_DISABLE_FWMP
+
+config MAINBOARD_DIR
+ string
+ default "clevo/kbl-u"
+
+config VARIANT_DIR
+ string
+ default "n13xwu" if BOARD_CLEVO_N130WU
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "N130WU" if BOARD_CLEVO_N130WU
+
+config CBFS_SIZE
+ hex
+ default 0x600000 if BOARD_CLEVO_N130WU
+
+config DEVICETREE
+ string
+ default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
+
+config FMDFILE
+ string
+ default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/variants/$(CONFIG_VARIANT_DIR)/fmds/vboot-ro.fmd" if VBOOT && !VBOOT_SLOTS_RW_A
+ # TODO
+# default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/fmds/vboot-roa.fmd" if VBOOT_SLOTS_RW_A && !VBOOT_SLOTS_RW_AB
+# default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/fmds/vboot-roab.fmd" if VBOOT_SLOTS_RW_AB
+
+config MAX_CPUS
+ int
+ default 8
+
+config DIMM_MAX
+ int
+ default 2
+
+config DIMM_SPD_SIZE
+ int
+ default 512
+
+config VGA_BIOS_ID
+ string
+ default "8086,5917" if BOARD_CLEVO_N130WU
+
+config PXE_ROM_ID
+ string
+ default "10ec,8168"
+
+config UART_FOR_CONSOLE
+ int
+ default 2
+
+config POST_DEVICE
+ bool
+ default n
+
+config CONSOLE_POST
+ bool
+ default y
+
+config LINEAR_FRAMEBUFFER_MAX_WIDTH
+ int
+ default 1920
+
+config LINEAR_FRAMEBUFFER_MAX_HEIGHT
+ int
+ default 1080
+
+endif