u-boot-brain/board/freescale/common
Nikita V. Youshchenko ec4d8c1c1d fsl_diu: fix alignment error that caused malloc corruption
When aligning malloc()ed screen_base, invalid offset was added.
This not only caused misaligned result (which did not cause hardware
misbehaviour), but - worse - caused screen_base + smem_len to
be out of malloc()ed space, which in turn caused breakage of
futher malloc()/free() operation.

This patch fixes screen_base alignment.

Also this patch makes memset() that cleans framebuffer to be executed
on first initialization of diu, not only on re-initialization. It looks
correct to clean the framebuffer instead of displaying random garbage;
I believe that was disabled only because that memset caused breakage
of malloc/free described above - which no longer happens with the fix
described above.

Signed-off-by: Nikita V. Youshchenko <yoush@debian.org>
2008-10-14 15:29:37 +02:00
..
cadmus.c Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale. 2007-12-11 22:34:20 -06:00
cadmus.h Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale. 2007-12-11 22:34:20 -06:00
cds_pci_ft.c FSL: Clean up board/freescale/common/Makefile 2008-03-26 11:43:04 -05:00
cds_via.c FSL: Clean up board/freescale/common/Makefile 2008-03-26 11:43:04 -05:00
eeprom.h Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale. 2007-12-11 22:34:20 -06:00
fsl_diu_fb.c fsl_diu: fix alignment error that caused malloc corruption 2008-10-14 15:29:37 +02:00
fsl_diu_fb.h Move 8610 DIU interface structure definitions to header file. 2007-11-20 15:00:53 -06:00
fsl_logo_bmp.c FSL: Add a freescale bitmap logo. 2007-11-07 14:09:08 -06:00
Makefile Update Freescale 85xx boards to sys_eeprom.c 2008-09-09 10:13:35 +02:00
pixis.c Add pixis_set_sgmii command 2008-09-02 21:18:15 -07:00
pixis.h Add PIXIS FPGA support for MPC8641HPCN board. 2007-04-09 14:25:05 -05:00
pq-mds-pib.c FSL: Convert board/freescale/common/Makefile to use CONFIG_ 2008-01-16 12:05:05 -06:00
pq-mds-pib.h mpc83xx: Split PIB init code from pci.c and add Qoc3 ATM card support 2007-08-16 23:12:11 -05:00
sgmii_riser.c Add support for Freescale SGMII Riser Card 2008-09-02 21:18:15 -07:00
sgmii_riser.h Add support for Freescale SGMII Riser Card 2008-09-02 21:18:15 -07:00
sys_eeprom.c FSL: Fix get_cpu_board_revision() return value. 2008-10-08 13:19:12 -05:00
via.h Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale. 2007-12-11 22:34:20 -06:00