On Thu, Aug 4, 2016 at 5:29 AM, Paul Burton <paul.bur...@imgtec.com> wrote:
> Reading the PCI BAR & converting the result to a physical address is not
> safe across all architectures. For example on MIPS the virtual:physical
> mapping is not 1:1, so we cannot directly make use of the physical
> address.
>
> Use the more generic BAR-mapping function dm_pci_map_bar to discover the
> MMIO base address, which should work across architectures.
>
> Signed-off-by: Paul Burton <paul.bur...@imgtec.com>

Acked-by: Joe Hershberger <joe.hershber...@ni.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to