[U-Boot] [PATCH V2] ati_radeon: Support PCI virtual not eq bus mapping.
Anatolij Gustschin
agust at denx.de
Thu Apr 8 16:37:16 CEST 2010
On Wed, 31 Mar 2010 15:52:40 -0500
Ed Swarthout <Ed.Swarthout at freescale.com> wrote:
> 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 at freescale.com>
> ---
>
> V2:
>
> Fix typos and warnings as pointed out by Anatolij Gustschin. -thanks
>
> Fixed checkpatch error:
>
> ERROR: do not use assignment in if condition
> #41: FILE: drivers/bios_emulator/atibios.c:198:
> + if ((BIOSImageBus = PCI_findBIOSAddr(pcidev, &BIOSImageBAR)) == 0) {
>
> drivers/bios_emulator/atibios.c | 10 +++++---
> drivers/video/ati_radeon_fb.c | 47 ++++++++++++++++++++------------------
> drivers/video/ati_radeon_fb.h | 4 +-
> 3 files changed, 33 insertions(+), 28 deletions(-)
Applied to u-boot-video/master. Thanks!
Anatolij
More information about the U-Boot
mailing list