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>
This commit is contained in:
Arthur Heymans 2023-12-20 21:05:23 +01:00
parent 2f21f5ec1d
commit 3325b0359e
2 changed files with 29 additions and 30 deletions

View File

@ -773,36 +773,6 @@ endif # PCIEXP_HOTPLUG
endif # PCIEXP_PLUGIN_SUPPORT 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 config EARLY_PCI_BRIDGE
bool "Early PCI bridge" bool "Early PCI bridge"
depends on PCI depends on PCI

View File

@ -27,3 +27,32 @@ config SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
select PCIEXP_HOTPLUG select PCIEXP_HOTPLUG
help help
Enable USB4 PCIe resources for reserving hotplug buses and memory. 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