summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/405gp_pci.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-08-15 14:22:35 +0200
committerStefan Roese <sr@denx.de>2006-08-15 14:22:35 +0200
commit899620c2d66d4eef3b2a0034d062e71d45d886c9 (patch)
tree5e99c4d42663193423bab1bc17308426c171cc56 /cpu/ppc4xx/405gp_pci.c
parentf0ff4692ff3372dec55074a8eb444943ab095abb (diff)
downloadu-boot-imx-899620c2d66d4eef3b2a0034d062e71d45d886c9.zip
u-boot-imx-899620c2d66d4eef3b2a0034d062e71d45d886c9.tar.gz
u-boot-imx-899620c2d66d4eef3b2a0034d062e71d45d886c9.tar.bz2
Add initial support for the ALPR board from Prodrive
NAND needs some additional testing Patch by Heiko Schocher, 15 Aug 2006
Diffstat (limited to 'cpu/ppc4xx/405gp_pci.c')
-rw-r--r--cpu/ppc4xx/405gp_pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/ppc4xx/405gp_pci.c b/cpu/ppc4xx/405gp_pci.c
index 0b0686b..7e2c7c1 100644
--- 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) && \