u-boot-brain/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
..
ati_ids.h drivers/video : move video drivers to drivers/video 2007-11-25 18:35:11 +01:00
ati_radeon_fb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ati_radeon_fb.h Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
atmel_hlcdfb.c video: atmel_hlcdfb: enable dcache support 2014-06-14 18:07:02 +02:00
atmel_lcdfb.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
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 Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ct69000.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
da8xx-fb.c video, da8xx-fb: show fb addr in bdinfo 2013-08-10 10:47:48 +02:00
da8xx-fb.h video, da8xx-fb: changes for am335x usage 2013-08-10 10:38:28 +02:00
exynos_dp_lowlevel.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_dp_lowlevel.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_dp.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_fb.c video:exynos_fb:fdt: add additional fdt data 2014-03-12 19:54:59 +09:00
exynos_fb.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_fimd.c video: exynos: fimd: add support for various display color modes 2014-02-03 15:36:14 +09:00
exynos_mipi_dsi_common.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_mipi_dsi_common.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_mipi_dsi_lowlevel.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_mipi_dsi_lowlevel.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
exynos_mipi_dsi.c video:mipidsim:fdt: Add DT support for mipi dsim driver 2014-03-12 19:54:59 +09:00
exynos_pwm_bl.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
formike.c video, formike: change tag/val write 2013-10-30 10:48:41 +01:00
fsl_diu_fb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
imx25lcdc.c video: Add support for imx25 lcd controller 2014-05-09 15:10:53 +02:00
ipu_common.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
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
ipu.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
l5f31188.c video: add L5F31188 TFT-LCD panel driver 2013-08-10 09:31:04 +02:00
ld9040.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile video: Add support for imx25 lcd controller 2014-05-09 15:10:53 +02:00
mb86r0xgdc.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mb862xx.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8xx_lcd.c mpc8xx: remove v37 board support 2014-07-07 19:43:02 -04:00
mx3fb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
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 Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxsfb.c video: Implement continuous screen refresh for SmartLCD into mxsfb 2013-08-09 21:48:57 +02:00
omap3_dss.c omap3: allow dynamic selection of gfx_format 2013-03-08 16:41:13 -05:00
pxa_lcd.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
s6e8ax0.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
s6e63d6.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
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 Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
sed13806.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sm501.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
smiLynxEM.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
tegra.c ARM: tegra: Tegra20 pinmux cleanup 2014-04-17 08:41:05 -07:00
videomodes.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
videomodes.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00