projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add initial support for the ALPR board from Prodrive
[oweals/u-boot.git]
/
cpu
/
ppc4xx
/
405gp_pci.c
diff --git
a/cpu/ppc4xx/405gp_pci.c
b/cpu/ppc4xx/405gp_pci.c
index 0b0686bcf716e8eb2136e52489dab41dc02d22fd..7e2c7c1a9c05229587990d208d2f20a1392f16aa 100644
(file)
--- a/
cpu/ppc4xx/405gp_pci.c
+++ b/
cpu/ppc4xx/405gp_pci.c
@@
-475,7
+475,11
@@
void pci_440_init (struct pci_controller *hose)
pci_set_region(hose->regions + reg_num++,
CFG_PCI_TARGBASE,
CFG_PCI_MEMBASE,
+#ifdef CFG_PCI_MEMSIZE
+ CFG_PCI_MEMSIZE,
+#else
0x10000000,
+#endif
PCI_REGION_MEM );
#if defined(CONFIG_PCI_SYS_MEM_BUS) && defined(CONFIG_PCI_SYS_MEM_PHYS) && \