summaryrefslogtreecommitdiff
path: root/src/mainboard/up/squared/Kconfig
diff options
context:
space:
mode:
authorReto Buerki <reet@codelabs.ch>2020-07-16 13:14:00 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-04-17 13:39:26 +0000
commit00531f067c07a930b545e191dea567c6897783e2 (patch)
treebdf5525bce205554b8ba3b6703d5cd8c36f79f8b /src/mainboard/up/squared/Kconfig
parent93f2f0f7bd89fee693a79f68e5025af1cdc4f225 (diff)
mb/up/squared: Make mini PCIe port mode configurable
Add config choice menu and pad configuration to put Mini PCIe port into mSATA mode. The vendor firmware's "Chipset->Mini PCIe / mSATA Switch" option has been used together with the output of inteltool and intel2pm to deduce the exact pad configuration. Note: the vendor firmware does not autodetect the mode, and the default setting for the port is "Mini PCIe". Tested with Kingston SUV500MS120G mSATA SSD. Change-Id: Ic2da1dd4252ebb5e373bc65418e321f566d4c10f Signed-off-by: Reto Buerki <reet@codelabs.ch> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80261 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/up/squared/Kconfig')
-rw-r--r--src/mainboard/up/squared/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mainboard/up/squared/Kconfig b/src/mainboard/up/squared/Kconfig
index ca8eef07b1..628b13e3aa 100644
--- a/src/mainboard/up/squared/Kconfig
+++ b/src/mainboard/up/squared/Kconfig
@@ -76,4 +76,22 @@ config CONSOLE_POST
bool
default y
+choice
+ prompt "Mini PCIe port mode"
+ default MINI_PCIE_MODE_PCIE
+ help
+ Choose the operating mode of the mini PCIe port.
+
+config MINI_PCIE_MODE_PCIE
+ bool "PCIe"
+ help
+ Select this option to leave the mini PCIe port in PCIe mode. This is
+ also the default mode of the vendor firmware.
+
+config MINI_PCIE_MODE_MSATA
+ bool "mSATA"
+ help
+ Select this option to put the mini PCIe port into mSATA mode.
+endchoice
+
endif