rv1126-uboot/drivers/video
Simon Glass 709ea543b9 stdio: Pass device pointer to stdio methods
At present stdio device functions do not get any clue as to which stdio
device is being acted on. Some implementations go to great lengths to work
around this, such as defining a whole separate set of functions for each
possible device.

For driver model we need to associate a stdio_dev with a device. It doesn't
seem possible to continue with this work-around approach.

Instead, add a stdio_dev pointer to each of the stdio member functions.

Note: The serial drivers have the same problem, but it is not strictly
necessary to fix that to get driver model running. Also, if we convert
serial over to driver model the problem will go away.

Code size increases by 244 bytes for Thumb2 and 428 for PowerPC.

22: stdio: Pass device pointer to stdio methods
       arm: (for 2/2 boards)  all +244.0  bss -4.0  text +248.0
   powerpc: (for 1/1 boards)  all +428.0  text +428.0

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>
2014-07-23 14:07:23 +01:00
..
Makefile video: Add support for imx25 lcd controller 2014-05-09 15:10:53 +02:00
ati_ids.h
ati_radeon_fb.c
ati_radeon_fb.h
atmel_hlcdfb.c video: atmel_hlcdfb: enable dcache support 2014-06-14 18:07:02 +02:00
atmel_lcdfb.c
bcm2835.c video: bcm2835: respect the pitch value 2013-11-12 09:35:40 +01:00
bus_vcxk.c video: remove AT91 legacy API from bus_vcxk 2013-11-13 22:13:10 +01:00
cfb_console.c stdio: Pass device pointer to stdio methods 2014-07-23 14:07:23 +01:00
coreboot_fb.c
ct69000.c
da8xx-fb.c
da8xx-fb.h
exynos_dp.c
exynos_dp_lowlevel.c
exynos_dp_lowlevel.h
exynos_fb.c video:exynos_fb:fdt: add additional fdt data 2014-03-12 19:54:59 +09:00
exynos_fb.h
exynos_fimd.c video: exynos: fimd: add support for various display color modes 2014-02-03 15:36:14 +09:00
exynos_mipi_dsi.c video:mipidsim:fdt: Add DT support for mipi dsim driver 2014-03-12 19:54:59 +09:00
exynos_mipi_dsi_common.c
exynos_mipi_dsi_common.h
exynos_mipi_dsi_lowlevel.c
exynos_mipi_dsi_lowlevel.h
exynos_pwm_bl.c
formike.c
fsl_diu_fb.c
imx25lcdc.c video: Add support for imx25 lcd controller 2014-05-09 15:10:53 +02:00
ipu.h
ipu_common.c
ipu_disp.c video: ipu_disp: Return a negative value on error 2013-12-04 13:27:55 +01:00
ipu_regs.h video: ipu reg: Correct reserved array size in struct ipu_idmac 2014-01-12 23:00:06 +01:00
l5f31188.c
ld9040.c
mb86r0xgdc.c
mb862xx.c
mpc8xx_lcd.c mpc8xx: remove v37 board support 2014-07-07 19:43:02 -04:00
mx3fb.c
mxc_ipuv3_fb.c video: mxc_ipuv3_fb: stash frame buffer pointer in global data. 2014-04-30 11:15:45 +02:00
mxcfb.h
mxsfb.c
omap3_dss.c
pxa_lcd.c
s6e8ax0.c
s6e63d6.c
sandbox_sdl.c sandbox: Add LCD driver 2014-03-17 20:05:49 -06:00
scf0403_lcd.c lcd: add DataImage SCF0403x LCD panel support 2013-11-12 10:08:48 +01:00
sed156x.c
sed13806.c
sm501.c
smiLynxEM.c
tegra.c ARM: tegra: Tegra20 pinmux cleanup 2014-04-17 08:41:05 -07:00
videomodes.c
videomodes.h