diff options
author | Mike Banon <mikebdp2@gmail.com> | 2020-01-19 21:42:09 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-04-22 13:49:05 +0000 |
commit | e7f176cd61a7ccb78ab9c015bb79b83ae6aaf071 (patch) | |
tree | e50f8edb9d792869da5050a6a01ce7743ca6af34 /src/northbridge/amd/agesa/Kconfig | |
parent | 4ac376a67b0be2a93a05f4fbf6e72ffab30c700f (diff) | |
download | coreboot-e7f176cd61a7ccb78ab9c015bb79b83ae6aaf071.tar.xz |
amd/agesa: Make BottomIo position configurable
Some PCI peripherals, such as discrete VGA adapters, require a great
amount of memory mapped IO. This patch allows the user to select at
build time the bottom IO to leave enough space for such devices.
We cannot calculate this value at runtime because it has to be set
before the PCI devices are enumerated. 0x80000000 has been successfully
boot-tested on A88XM-E (fam15tn), G505S (fam15tn) and AM1I-A (fam16kb).
Signed-off-by: Mike Banon <mikebdp2@gmail.com>
Change-Id: Ie235631231bcb4aeebaff2e0026da2ea9d82f9d0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38472
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Diffstat (limited to 'src/northbridge/amd/agesa/Kconfig')
-rw-r--r-- | src/northbridge/amd/agesa/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/northbridge/amd/agesa/Kconfig b/src/northbridge/amd/agesa/Kconfig index 19b62f2cd8..1e0153b335 100644 --- a/src/northbridge/amd/agesa/Kconfig +++ b/src/northbridge/amd/agesa/Kconfig @@ -19,6 +19,17 @@ config NORTHBRIDGE_AMD_AGESA if NORTHBRIDGE_AMD_AGESA +config BOTTOMIO_POSITION + hex "Bottom of 32-bit IO space" + default 0x80000000 + help + If PCI peripherals with big BARs are connected to the system + the bottom of the IO must be decreased to allocate such devices. + + Declare the beginning of the 128MB-aligned MMIO region. This + option is useful when PCI peripherals requesting large address + ranges are present, for example, graphic cards. + config CONSOLE_VGA_MULTI bool default n |