summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-12-20 21:05:23 +0100
committerArthur Heymans <arthur@aheymans.xyz>2024-01-19 13:55:43 +0000
commit3325b0359e040da2d8e97547fc5fe5cbda3c2c8a (patch)
treed4fe152524feab855c29d9b09a80b0107529990b /src
parent2f21f5ec1db45fb66f1196ddf1b2f8f65e4d7f58 (diff)
device/Kconfig: Move Intel/ACPI/USB4 specific Kconfig options
This options should not be visible on !Intel, !ACPI and !USB4. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: Ia515d52baead9e151533278c33fda9436ee56168 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79669 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/device/Kconfig30
-rw-r--r--src/soc/intel/common/block/usb4/Kconfig29
2 files changed, 29 insertions, 30 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index e5b90bbcb0..404c73d250 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -773,36 +773,6 @@ endif # PCIEXP_HOTPLUG
endif # PCIEXP_PLUGIN_SUPPORT
-config DEFAULT_SOFTWARE_CONNECTION_MANAGER
- bool
- help
- select to default to using the Software Connection Manager
-
-choice
- prompt "Connection Manager"
- default SOFTWARE_CONNECTION_MANAGER if DEFAULT_SOFTWARE_CONNECTION_MANAGER
- default FIRMWARE_CONNECTION_MANAGER
- help
- Software Connection Manager doesn't work with Linux 5.13 or later,
- resulting in TBT ports timing out. Firmware Connection Manager works
- correctly.
-
- Linux patch:
- torvalds/linux@c6da62a
- c6da62a219d028de10f2e22e93a34c7ee2b88d03
-
-config FIRMWARE_CONNECTION_MANAGER
- bool "Firmware Connection Manager"
- help
- Disable SCM so that FCM can be used
-
-config SOFTWARE_CONNECTION_MANAGER
- bool "Software Connection Manager"
- help
- Enable SCM so it's used instead of FCM.
-
-endchoice
-
config EARLY_PCI_BRIDGE
bool "Early PCI bridge"
depends on PCI
diff --git a/src/soc/intel/common/block/usb4/Kconfig b/src/soc/intel/common/block/usb4/Kconfig
index 05337be0da..234428a00a 100644
--- a/src/soc/intel/common/block/usb4/Kconfig
+++ b/src/soc/intel/common/block/usb4/Kconfig
@@ -27,3 +27,32 @@ config SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
select PCIEXP_HOTPLUG
help
Enable USB4 PCIe resources for reserving hotplug buses and memory.
+
+config DEFAULT_SOFTWARE_CONNECTION_MANAGER
+ bool
+ help
+ select to default to using the Software Connection Manager
+
+choice
+ prompt "Connection Manager"
+ depends on SOC_INTEL_COMMON_BLOCK_USB4
+ default SOFTWARE_CONNECTION_MANAGER if DEFAULT_SOFTWARE_CONNECTION_MANAGER
+ default FIRMWARE_CONNECTION_MANAGER
+ help
+ Software Connection Manager doesn't work with Linux 5.13 or later,
+ resulting in TBT ports timing out. Firmware Connection Manager works
+ correctly.
+ Linux patch:
+ torvalds/linux@c6da62a
+ c6da62a219d028de10f2e22e93a34c7ee2b88d03
+
+config FIRMWARE_CONNECTION_MANAGER
+ bool "Firmware Connection Manager"
+ help
+ Disable SCM so that FCM can be used
+
+config SOFTWARE_CONNECTION_MANAGER
+ bool "Software Connection Manager"
+ help
+ Enable SCM so it's used instead of FCM.
+endchoice