diff options
author | Becky Bruce <becky.bruce@freescale.com> | 2008-11-21 19:24:22 -0600 |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2008-12-03 22:48:50 -0600 |
commit | 35db1c6d34b57ae15e99cf03c8e8f8a6148d74f3 (patch) | |
tree | 1e353701305b54aea14b29f37e2fcf2f5b91025d /lib_generic/crc16.c | |
parent | 5a105a333dab6a23e92d763ce76d6f31d57f45df (diff) | |
download | u-boot-imx-35db1c6d34b57ae15e99cf03c8e8f8a6148d74f3.zip u-boot-imx-35db1c6d34b57ae15e99cf03c8e8f8a6148d74f3.tar.gz u-boot-imx-35db1c6d34b57ae15e99cf03c8e8f8a6148d74f3.tar.bz2 |
drivers/fsl_pci_init: Fix inbound window mapping bug
The current code will cause the creation of a 4GB window
starting at 0 if we have more than 4GB of RAM installed,
which overlaps with PCI_MEM space and causes pci_bus_to_phys()
to return erroneous information. Limit the size to 4GB - 1;
which causes the code to create one 2GB and one 1GB window
instead.
Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'lib_generic/crc16.c')
0 files changed, 0 insertions, 0 deletions