ati_radeon: Support PCI virtual not eq bus mapping.
authorEd Swarthout <Ed.Swarthout@freescale.com>
Wed, 31 Mar 2010 20:52:40 +0000 (15:52 -0500)
committerAnatolij Gustschin <agust@denx.de>
Thu, 8 Apr 2010 13:30:47 +0000 (15:30 +0200)
commitf6a7a2e88854666e6a9ede50891fe415e803ace2
treeb22e61e55853364f7b2f818d2120e51708ab6fa8
parent9624f6d9eb4b7223e97a27844ec4489ab953a2e2
ati_radeon: Support PCI virtual not eq bus mapping.

Use pci_bus_to_virt() to convert the bus address from the BARs to
virtual address' to eliminate the direct mapping requirement.

Rename variables to better match usage (_phys -> _bus or no-suffix)

This fixes the mpc8572ds CONFIG_PHYS_64BIT mode failure:
"videoboot: Video ROM failed to map!"

Tested on mpc8572ds with and without CONFIG_PHYS_64BIT.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
drivers/bios_emulator/atibios.c
drivers/video/ati_radeon_fb.c
drivers/video/ati_radeon_fb.h