Home
last modified time | relevance | path

Searched hist:"35 db1c6d34b57ae15e99cf03c8e8f8a6148d74f3" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/pci/
H A Dfsl_pci_init.c35db1c6d34b57ae15e99cf03c8e8f8a6148d74f3 Sat Nov 22 01:24:22 UTC 2008 Becky Bruce <becky.bruce@freescale.com> 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>