u-boot/drivers/video
Eric Nelson 5ca05c8b03 cfb_console: align fields in gzipped .bmp files
.bmp files contain 32-bit integers aligned at offsets of +2, +6,
et cetera within the bmp_header structure (see include/bmp_layout.h).

Support for gzip-compressed .bmp files is present in the cfb_console
display subsystem by uncompressing them prior to use.

This patch forces the in-memory header to be aligned properly
for these compressed images by extracting them to a 2-byte
offset in the memory returned by malloc. Since malloc will always
return a 4-byte aligned value, this forces the .bmp header
fields to be naturally aligned on 4-byte addresses.

Refer to these files for more details:
	doc/README.displaying-bmps

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
2014-03-10 13:50:31 -04: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 Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04: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 cfb_console: align fields in gzipped .bmp files 2014-03-10 13:50:31 -04: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.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04: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_fb.c samsung: common: Add file for common functions, draw_logo() cleanup. 2014-02-03 15:36:14 +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.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04: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_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
ipu.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04: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
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 lcd: add DataImage SCF0403x LCD panel support 2013-11-12 10:08:48 +01: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 Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -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 Merge git://git.denx.de/u-boot-arm 2013-07-31 11:30:38 +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
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 Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04: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