diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2009-02-06 09:49:31 -0600 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-02-07 23:50:04 +0100 |
commit | ff4e66e93c1ad47644be3b4ffd6a46e1ce9b6612 (patch) | |
tree | faebfffc8e20a54092c61a94193c6fea8f4bf78e /cpu/mpc8260 | |
parent | 64ace0d1e5302ada84edb2ea473e5b89198c3353 (diff) | |
download | u-boot-imx-ff4e66e93c1ad47644be3b4ffd6a46e1ce9b6612.zip u-boot-imx-ff4e66e93c1ad47644be3b4ffd6a46e1ce9b6612.tar.gz u-boot-imx-ff4e66e93c1ad47644be3b4ffd6a46e1ce9b6612.tar.bz2 |
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>
Diffstat (limited to 'cpu/mpc8260')
-rw-r--r-- | cpu/mpc8260/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc8260/pci.c b/cpu/mpc8260/pci.c index 378d6c5..f1e9bb4 100644 --- a/cpu/mpc8260/pci.c +++ b/cpu/mpc8260/pci.c @@ -410,12 +410,12 @@ void pci_mpc8250_init (struct pci_controller *hose) pci_set_region (hose->regions + 0, PCI_SLV_MEM_BUS, PCI_SLV_MEM_LOCAL, - gd->ram_size, PCI_REGION_MEM | PCI_REGION_MEMORY); + gd->ram_size, PCI_REGION_MEM | PCI_REGION_SYS_MEMORY); #else pci_set_region (hose->regions + 0, CONFIG_SYS_SDRAM_BASE, CONFIG_SYS_SDRAM_BASE, - 0x4000000, PCI_REGION_MEM | PCI_REGION_MEMORY); + 0x4000000, PCI_REGION_MEM | PCI_REGION_SYS_MEMORY); #endif /* PCI memory space */ |