summaryrefslogtreecommitdiffstats
path: root/drivers/video/ati_radeon_fb.c
Commit message (Collapse)AuthorAgeFilesLines
* Introduce a header file for the BIOS emulatorSimon Glass2014-11-251-1/+1
| | | | | | | We should have a public header so that users can avoid defining functions themselves. Signed-off-by: Simon Glass <sjg@chromium.org>
* include: move various macros to include/linux/kernel.hMasahiro Yamada2014-11-201-5/+0
| | | | | | | | | | | | | | | | | | | | | | | U-Boot has imported various utility macros from Linux scattering them to various places without consistency. In include/common.h are min, max, min3, max3, ARRAY_SIZE, ALIGN, container_of, DIV_ROUND_UP, etc. In include/linux/compat.h are min_t, max_t, round_up, round_down, etc. We also have duplicated defines of min_t in some *.c files. Moreover, we are suffering from too cluttered include/common.h. This commit moves various macros that originate in include/linux/kernel.h of Linux to their original position. Note: This commit simply moves the macros; the macros roundup, min, max, min2, max3, ARRAY_SIZE are different from those of Linux at this point. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
* Add GPL-2.0+ SPDX-License-Identifier to source filesWolfgang Denk2013-07-241-18/+1
| | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
* video: ati_radeon_fb.c: fix warning while compiling with DEBUGAnatolij Gustschin2010-04-081-1/+1
| | | | | | | | | | Fixes this warning: ati_radeon_fb.c: In function 'radeon_probe': ati_radeon_fb.c:598: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'void *' Signed-off-by: Anatolij Gustschin <agust@denx.de>
* ati_radeon: Support PCI virtual not eq bus mapping.Ed Swarthout2010-04-081-22/+25
| | | | | | | | | | | | | | 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>
* ati_radeon: return with error when emulator failsEd Swarthout2010-04-081-1/+2
| | | | | | | | | | | | | | | | | Console was being switched to video even if emulator fails and causing this hang: Scanning PCI bus 04 04 00 1095 3132 0104 00 PCIE3 on bus 03 - 04 Video: ATI Radeon video card (1002, 5b60) found @(2:0:0) videoboot: Booting PCI video card bus 2, function 0, device 0 videoboot: Video ROM failed to map! 640x480x8 31kHz 59Hz radeonfb: FIFO Timeout ! Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Tested-by: Anatolij Gustschin <agust@denx.de>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-181-3/+3
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* video: Clean drivers/video/MakefileMichal Simek2008-08-181-3/+0
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* Add Radeon Mobility 9200 pci device id to the radeon driverAnatolij Gustschin2008-02-151-0/+3
| | | | | | | | This patch extends PCI device id table of the radeon driver so that the driver will also support Radeon Mobility 9200 (M9+) based boards. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* Extend ATI Radeon driver to support more video modesAnatolij Gustschin2008-02-151-15/+304
| | | | | | | Adds ATI Radeon 9200 support for 1280x1024, 1024x768, 800x600, 640x480 at 24, 16 and 8 bpp. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* drivers/video : move video drivers to drivers/videoJean-Christophe PLAGNIOL-VILLARD2007-11-251-0/+488
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
OpenPOWER on IntegriCloud