summaryrefslogtreecommitdiff
path: root/drivers/video/ati_radeon_fb.h
diff options
context:
space:
mode:
authorEd Swarthout <Ed.Swarthout@freescale.com>2010-03-31 15:52:40 -0500
committerAnatolij Gustschin <agust@denx.de>2010-04-08 15:30:47 +0200
commitf6a7a2e88854666e6a9ede50891fe415e803ace2 (patch)
treeb22e61e55853364f7b2f818d2120e51708ab6fa8 /drivers/video/ati_radeon_fb.h
parent9624f6d9eb4b7223e97a27844ec4489ab953a2e2 (diff)
downloadu-boot-imx-f6a7a2e88854666e6a9ede50891fe415e803ace2.zip
u-boot-imx-f6a7a2e88854666e6a9ede50891fe415e803ace2.tar.gz
u-boot-imx-f6a7a2e88854666e6a9ede50891fe415e803ace2.tar.bz2
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>
Diffstat (limited to 'drivers/video/ati_radeon_fb.h')
-rw-r--r--drivers/video/ati_radeon_fb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/ati_radeon_fb.h b/drivers/video/ati_radeon_fb.h
index e981f95..0659045 100644
--- a/drivers/video/ati_radeon_fb.h
+++ b/drivers/video/ati_radeon_fb.h
@@ -49,8 +49,8 @@ struct radeonfb_info {
struct pci_device_id pdev;
u16 family;
- u32 fb_base_phys;
- u32 mmio_base_phys;
+ u32 fb_base_bus;
+ u32 mmio_base_bus;
void *mmio_base;
void *fb_base;