summaryrefslogtreecommitdiff
path: root/src/mainboard/acer/aspire_vn7_572g/Kconfig
diff options
context:
space:
mode:
authorBenjamin Doron <benjamin.doron00@gmail.com>2019-09-22 17:33:12 +1000
committerMartin Roth <martinroth@google.com>2022-01-28 16:44:41 +0000
commit289a67d1600d98593d6f417eac76e836d6dcbecd (patch)
tree3096c0e9d27ae2d6eea753a7402ecea14b5c839e /src/mainboard/acer/aspire_vn7_572g/Kconfig
parentad3828e3ce5f19776a94bd0e49057d89802f4203 (diff)
mb/acer: Add Acer Aspire VN7-572G
Add initial support for Acer Aspire VN7-572G (Skylake-U). Also note that there are two similar boards, Aspire VN7-792G and Aspire VN7-592G; both are Skylake-H. These are not supported (yet). Do not flash images intended for Aspire VN7-572G on those boards: the GPIOs and HSIO routing will be different and may risk damage to the hardware. Working: - Payload - TianoCore (custom fork of MrChromebox's UefiPayloadPkg; edk2-202102) - OS - Fedora 35 (kernel 5.14.15) - Windows 10 20H1 (bugs present: battery paging fixed; abandoning testing) - Both DIMM slots - eDP and HDMI display (VBT partially matches vendor's configuration) - with FSP GOP - with IntelGopDriver (in payload: TianoCore) - with libgfxinit - Audio - Speakers and headphone jack - Internal microphone - HDMI audio - Devices - PCIe and SATA (unable to test M.2 SATA) - Discrete graphics, Ethernet and WiFi - USB ports (unable to test type-C, touchscreen and fingerprint reader) - Includes internal devices (Bluetooth, SD card reader and webcam) - TPM - Keyboard and touchpad - Optimus (see CB:28380, CB:40625 and CB:40628) - ACPI functionality - S3 suspend and resume - EC support - Internal flashing with flashrom - CMOS settings In progress: - EC SMM functionality Not working: - vboot (breaks boot): See CB:58249 Notes: - `tpm2_pcrallocate` to enable SHA256 PCR bank Not implemented: - WMI Change-Id: I6340116abfeb2fbd280d143b74d323e4da3566f6 Signed-off-by: Benjamin Doron <benjamin.doron00@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35523 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/acer/aspire_vn7_572g/Kconfig')
-rw-r--r--src/mainboard/acer/aspire_vn7_572g/Kconfig110
1 files changed, 110 insertions, 0 deletions
diff --git a/src/mainboard/acer/aspire_vn7_572g/Kconfig b/src/mainboard/acer/aspire_vn7_572g/Kconfig
new file mode 100644
index 0000000000..449eeee39a
--- /dev/null
+++ b/src/mainboard/acer/aspire_vn7_572g/Kconfig
@@ -0,0 +1,110 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+if BOARD_ACER_VN7_572G
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOARD_ROMSIZE_KB_8192
+ select DRIVERS_I2C_HID
+ select DRIVERS_USB_ACPI
+ select EC_ACPI
+ select HAVE_ACPI_RESUME
+ select HAVE_ACPI_TABLES
+ select HAVE_CMOS_DEFAULT
+ select HAVE_INTEL_PTT
+ select HAVE_OPTION_TABLE
+ select INTEL_GMA_HAVE_VBT
+ select INTEL_INT15
+ select INTEL_LPSS_UART_FOR_CONSOLE
+ select MAINBOARD_HAS_CRB_TPM
+ select MAINBOARD_HAS_LIBGFXINIT
+ select MAINBOARD_HAS_TPM2
+ select NO_UART_ON_SUPERIO
+ select SOC_INTEL_COMMON_BLOCK_HDA_VERB
+ select SOC_INTEL_SKYLAKE
+ select SPD_READ_BY_WORD
+ select SYSTEM_TYPE_LAPTOP
+
+config CBFS_SIZE
+ default 0x600000
+
+config CONSOLE_SERIAL
+ default n
+
+config DIMM_MAX
+ default 2
+
+config DIMM_SPD_SIZE
+ default 512
+
+config FMDFILE
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/board.fmd" if INCLUDE_EC_FIRMWARE
+
+config INCLUDE_EC_FIRMWARE
+ bool "Include EC firmware blob"
+ help
+ If corrupted, the EC can recover its firmware from the SPI flash.
+
+config EC_FIRMWARE_FILE
+ string "Location of EC firmware blob"
+ depends on INCLUDE_EC_FIRMWARE
+ default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/ec.bin"
+
+config EC_USE_LGMR
+ bool "Use LPC generic memory range for EC"
+ help
+ Using MMIO accesses for EC range can improve performance.
+
+config INCLUDE_NHLT_BLOBS
+ bool "Include blobs for audio"
+ select NHLT_DMIC_1CH
+ # It appears OS chooses blob?
+ select NHLT_DMIC_2CH
+# select NHLT_DMIC_4CH # Wrong lie to tell? Double-check blob.
+
+config LINEAR_FRAMEBUFFER_MAX_HEIGHT
+ default 1080
+
+config LINEAR_FRAMEBUFFER_MAX_WIDTH
+ default 1920
+
+config MAINBOARD_DIR
+ default "acer/aspire_vn7_572g"
+
+config MAINBOARD_FAMILY
+ default "Aspire V Nitro"
+
+config MAINBOARD_PART_NUMBER
+ default "Aspire VN7-572G"
+
+config MAINBOARD_SUPPORTS_KABYLAKE_DUAL
+ default n
+
+config MAINBOARD_SUPPORTS_KABYLAKE_QUAD
+ default n
+
+config MAX_CPUS
+ default 4
+
+config ME_CLEANER_ARGS
+ default "-s"
+
+config ONBOARD_VGA_IS_PRIMARY
+ default y
+
+config POST_DEVICE
+ default n
+
+config POST_IO
+ default n
+
+config UART_FOR_CONSOLE
+ default 2
+
+config VGA_BIOS_DGPU_ID
+ default "10de,139a"
+
+config VGA_BIOS_ID
+ default "8086,1916"
+
+endif