summaryrefslogtreecommitdiff
path: root/src/mainboard/up/squared/Kconfig
diff options
context:
space:
mode:
authorFelix Singer <migy@darmstadt.ccc.de>2019-02-12 22:22:42 +0100
committerPatrick Rudolph <siro@das-labor.org>2019-05-22 12:13:22 +0000
commit402fe20e3e10f0f2aa1329eb60970e56bf92986e (patch)
tree8872f294a9d7dfba7b5732bdac6bf13a3396b41d /src/mainboard/up/squared/Kconfig
parentfa40e822700f78489a3cd8be65365a9e7249eecf (diff)
mb/up/squared: Add mainboard
Works: - bootblock, romstage, ramstage - Serial console UART0, UART1 - SPI flash console - iGPU init with libgfxinit - LAN1, LAN2 - USB2, USB3 - HDMI, DisplayPort - eMMC - flashing with flashrom externally WIP: - Documentation - VGA For some reason Seabios can not find the CBFS region and therefore it can't load seavgabios, but generally it is working as soon as Linux is booted. - ACPI Works not: - Devices needs proper configuration - Seabios can't find CBFS region Untested: - GPIO pin header - 60 pin EXHAT - Camera interface - MIPI-CSI2 2-lane (2MP) - MIPI-CSI2 4-lane (8MP) - SATA3 - USB3 OTG - embedded DisplayPort - M.2 slot - mini PCIe - flashing with flashrom internally using Linux Change-Id: Ia913534ec176fc600fcd4ce3af335ebe682b0ed4 Signed-off-by: Felix Singer <felix.singer@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31378 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/up/squared/Kconfig')
-rw-r--r--src/mainboard/up/squared/Kconfig88
1 files changed, 88 insertions, 0 deletions
diff --git a/src/mainboard/up/squared/Kconfig b/src/mainboard/up/squared/Kconfig
new file mode 100644
index 0000000000..fd03b7a2ae
--- /dev/null
+++ b/src/mainboard/up/squared/Kconfig
@@ -0,0 +1,88 @@
+if BOARD_UP_SQUARED
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select USE_BLOBS
+ select ADD_FSP_BINARIES
+ select FSP_USE_REPO
+ select HAVE_ACPI_TABLES
+ select HAVE_ACPI_RESUME
+ select INTEL_GMA_HAVE_VBT
+ select INTEL_LPSS_UART_FOR_CONSOLE
+ select SOC_INTEL_APOLLOLAKE
+ select BOARD_ROMSIZE_KB_16384
+ select ONBOARD_VGA_IS_PRIMARY
+ select MAINBOARD_HAS_LIBGFXINIT
+
+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 GBB_HWID
+ string
+ depends on VBOOT
+ default "UPSQUARED"
+
+config MAINBOARD_DIR
+ string
+ default "up/squared"
+
+config MAINBOARD_VENDOR
+ string
+ default "Up"
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "Squared"
+
+config FMDFILE
+ string
+ default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/upsquared.fmd" if !VBOOT
+ default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/vboot-ro.fmd" if !VBOOT_SLOTS_RW_A
+ default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/vboot-roa.fmd" if VBOOT_SLOTS_RW_A && !VBOOT_SLOTS_RW_AB
+ default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/vboot-roab.fmd" if VBOOT_SLOTS_RW_AB
+
+config SUBSYSTEM_VENDOR_ID
+ hex
+ default 0x8086
+
+config SUBSYSTEM_DEVICE_ID
+ hex
+ default 0x7270
+
+config VGA_BIOS_ID
+ string
+ default "8086,5a85"
+
+config PXE_ROM_ID
+ string
+ default "10ec,8168"
+
+config MAX_CPUS
+ int
+ default 2
+
+config UART_FOR_CONSOLE
+ int
+ default 0
+
+config IFWI_FMAP_NAME
+ string
+ default "IFWI"
+
+config POST_IO
+ bool
+ default n
+
+config POST_DEVICE
+ bool
+ default n
+
+config CONSOLE_POST
+ bool
+ default y
+
+endif