mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-13 20:40:31 +01:00
If a 32-bit system has 2GB of RAM, and the base address of that RAM is 2GB, then start+size will overflow a 32-bit value (to a value of 0). To avoid such an overflow, convert __pci_hose_bus_to_phys() to calculate the offset of a bus address into a PCI region, rather than comparing a bus address against the end of a PCI region. Signed-off-by: Stephen Warren <swarren@nvidia.com> |
||
|---|---|---|
| .. | ||
| fsl_pci_init.c | ||
| Makefile | ||
| pci.c | ||
| pci_auto.c | ||
| pci_ftpci100.c | ||
| pci_gt64120.c | ||
| pci_indirect.c | ||
| pci_msc01.c | ||
| pci_sh4.c | ||
| pci_sh7751.c | ||
| pci_sh7780.c | ||
| pcie_imx.c | ||
| tsi108_pci.c | ||
| w83c553f.c | ||