summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-12-05 00:17:16 +0100
committerWolfgang Denk <wd@denx.de>2008-12-05 00:17:16 +0100
commit762bd90cbb6536d2c8451c13fe23552f3311f860 (patch)
tree12421c51ac7f71f6e1591a60e81988fe06777304 /drivers
parent6226db68af76bec165bfdfd04ef52d9a54345917 (diff)
parentdc889e865356497d3e495570118c2245ebce2631 (diff)
downloadu-boot-imx-762bd90cbb6536d2c8451c13fe23552f3311f860.zip
u-boot-imx-762bd90cbb6536d2c8451c13fe23552f3311f860.tar.gz
u-boot-imx-762bd90cbb6536d2c8451c13fe23552f3311f860.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/fsl_pci_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/fsl_pci_init.c b/drivers/pci/fsl_pci_init.c
index 7625ccc..e57acba 100644
--- a/drivers/pci/fsl_pci_init.c
+++ b/drivers/pci/fsl_pci_init.c
@@ -58,7 +58,7 @@ void pciauto_config_init(struct pci_controller *hose);
int fsl_pci_setup_inbound_windows(struct pci_region *r)
{
struct pci_region *rgn_base = r;
- u64 sz = min((u64)gd->ram_size, 1ull << 32);
+ u64 sz = min((u64)gd->ram_size, (1ull << 32) - 1);
phys_addr_t phys_start = CONFIG_SYS_PCI_MEMORY_PHYS;
pci_addr_t bus_start = CONFIG_SYS_PCI_MEMORY_BUS;