diff options
| author | Jiaxun Yang <[email protected]> | 2024-05-17 19:14:51 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-04-22 15:08:47 -0600 |
| commit | 1864dfb1c457e090d2e84d14ee56d9579a898e7f (patch) | |
| tree | 52358bdac5b67417c3a6339c7a3c042c1f574be3 | |
| parent | fc25cd0e1a1d5bea59c651782b93e70289d68c1f (diff) | |
pci: Enable PCI_MAP_SYSTEM_MEMORY when ARCH_MAP_SYSMEM is not set
For MIPS we are always looking gd->dram in virtual address so
PCI_MAP_SYSTEM_MEMORY should always be enabled.
If in future we ever want to make it physical we have to set
ARCH_MAP_SYSMEM.
Signed-off-by: Jiaxun Yang <[email protected]>
Reviewed-by: Daniel Schwierzeck <[email protected]>
| -rw-r--r-- | drivers/pci/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index 289d1deb38b..14f6067fa29 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -67,6 +67,7 @@ config PCI_CONFIG_HOST_BRIDGE config PCI_MAP_SYSTEM_MEMORY bool "Map local system memory from a virtual base address" depends on MIPS + default y if !ARCH_MAP_SYSMEM help Say Y if base address of system memory is being used as a virtual address instead of a physical address (e.g. on MIPS). The PCI core will then remap |
