summaryrefslogtreecommitdiffstats
path: root/src/device/Kconfig
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-05-15 23:35:00 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-05-28 09:42:46 +0000
commit32f385ebfabe0b33c8c026c3972e4af880e39a5a (patch)
tree7b280eebec8a9d0dabf057b15d2e27a00b503bd6 /src/device/Kconfig
parent1bb05ef30b2dc5ccfbc26a185f350fdc8ee4f904 (diff)
downloadcoreboot-32f385ebfabe0b33c8c026c3972e4af880e39a5a.tar.gz
coreboot-32f385ebfabe0b33c8c026c3972e4af880e39a5a.tar.bz2
coreboot-32f385ebfabe0b33c8c026c3972e4af880e39a5a.zip
Revert "Revert "pciexp_device: Add option to allocate prefetch memory above 4G boundary""
This reverts commit e15f352039a371156ceef37f0434003228166e99. Reason for revert: Resource allocator is split into old(v3) and new(v4). So, this change to provide an option to allocate prefetch memory above 4G boundary can be added back. Since the support for allocating above 4G boundary is available only in resource allocator v4, Kconfig option is accordingly updated to add depends on RESOURCE_ALLOCATOR_V4. Change-Id: I94e5866458c79c2719fd780f336fb5da71a7df66 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41467 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device/Kconfig')
-rw-r--r--src/device/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index 55abfe89b217..79ce77d66eac 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -583,6 +583,22 @@ config PCIEXP_HOTPLUG_PREFETCH_MEM
child devices. This size should be page-aligned. The default is
256 MiB.
+config PCIEXP_HOTPLUG_PREFETCH_MEM_ABOVE_4G
+ bool
+ depends on RESOURCE_ALLOCATOR_V4
+ default y if !PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G
+ default n
+ help
+ This enables prefetch memory allocation above 4G boundary for the
+ hotplug resources.
+
+config PCIEXP_HOTPLUG_PREFETCH_MEM_BELOW_4G
+ bool "PCI Express Hotplug Prefetch Memory Allocation below 4G boundary"
+ default n
+ help
+ This enables prefetch memory allocation below 4G boundary for the
+ hotplug resources.
+
config PCIEXP_HOTPLUG_IO
hex "PCI Express Hotplug I/O Space"
default 0x2000