summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/tigerlake/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/soc/intel/tigerlake/Kconfig b/src/soc/intel/tigerlake/Kconfig
index 00913c7e64..35d8603741 100644
--- a/src/soc/intel/tigerlake/Kconfig
+++ b/src/soc/intel/tigerlake/Kconfig
@@ -287,4 +287,22 @@ config SOC_INTEL_CRASHLOG
help
Enables CrashLog.
+# Intel recommends reserving the following resources per USB4 root port,
+# from TGL BIOS Spec (doc #611569) Revision 0.7.6 Section 7.2.5.1.5
+# - 42 buses
+# - 194 MiB Non-prefetchable memory
+# - 448 MiB Prefetchable memory
+if SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
+
+config PCIEXP_HOTPLUG_BUSES
+ default 42
+
+config PCIEXP_HOTPLUG_MEM
+ default 0xc200000 # 194 MiB
+
+config PCIEXP_HOTPLUG_PREFETCH_MEM
+ default 0x1c000000 # 448 MiB
+
+endif # SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
+
endif