mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
pci: Rename PCI_REGION_MEMORY to PCI_REGION_SYS_MEMORY for clarity
The PCI_REGION_MEMORY and PCI_REGION_MEM are a bit to similar and can be confusing when reading the code. Rename PCI_REGION_MEMORY to PCI_REGION_SYS_MEMORY to clarify its used for system memory mapping purposes. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
committed by
Wolfgang Denk
parent
64ace0d1e5
commit
ff4e66e93c
@@ -646,8 +646,8 @@ int fdt_pci_dma_ranges(void *blob, int phb_off, struct pci_controller *hose) {
|
||||
for (r = 0; r < hose->region_count; r++) {
|
||||
u64 bus_start, phys_start, size;
|
||||
|
||||
/* skip if !PCI_REGION_MEMORY */
|
||||
if (!(hose->regions[r].flags & PCI_REGION_MEMORY))
|
||||
/* skip if !PCI_REGION_SYS_MEMORY */
|
||||
if (!(hose->regions[r].flags & PCI_REGION_SYS_MEMORY))
|
||||
continue;
|
||||
|
||||
bus_start = (u64)hose->regions[r].bus_start;
|
||||
|
Reference in New Issue
Block a user