summaryrefslogtreecommitdiffstats
path: root/board/dave
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-02-06 09:49:31 -0600
committerWolfgang Denk <wd@denx.de>2009-02-07 23:50:04 +0100
commitff4e66e93c1ad47644be3b4ffd6a46e1ce9b6612 (patch)
treefaebfffc8e20a54092c61a94193c6fea8f4bf78e /board/dave
parent64ace0d1e5302ada84edb2ea473e5b89198c3353 (diff)
downloadblackbird-obmc-uboot-ff4e66e93c1ad47644be3b4ffd6a46e1ce9b6612.tar.gz
blackbird-obmc-uboot-ff4e66e93c1ad47644be3b4ffd6a46e1ce9b6612.zip
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 'board/dave')
-rw-r--r--board/dave/common/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/dave/common/pci.c b/board/dave/common/pci.c
index ec0d76125e..ddfbea9a08 100644
--- a/board/dave/common/pci.c
+++ b/board/dave/common/pci.c
@@ -179,7 +179,7 @@ void pci_init(void)
/* System memory space */
pci_set_region(hose->regions + 0,
0x00000000, 0x00000000, 0x01000000,
- PCI_REGION_MEM | PCI_REGION_MEMORY);
+ PCI_REGION_MEM | PCI_REGION_SYS_MEMORY);
/* PCI Memory space */
pci_set_region(hose->regions + 1,
OpenPOWER on IntegriCloud