u-boot/board/spear
Amit Virdi 5cca72f8b3 SPEAr: Fix ARM relocation support
While the u-boot code is running from the flash, it is essential that no access
is made to the bss segment. This is due to the fact that .rel.dyn and .bss areas
overlap and former contains information used in relocation. In SPEAr, this was
not taken into consideration. As a result, while the relocation wasn't complete,
dram_init populated an uninitialized global variable resulting in corruption of
.rel.dyn area, which resulted in u-boot crash.

This commit fixes this problem by removing code that accesses bss segment

Signed-off-by: Amit Virdi <amit.virdi@st.com>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
2012-07-07 14:07:39 +02:00
..
common SPEAr: Fix ARM relocation support 2012-07-07 14:07:39 +02:00
spear300 SPEAr: Configure FSMC driver for NAND interface 2012-07-07 14:07:38 +02:00
spear310 SPEAr: Configure FSMC driver for NAND interface 2012-07-07 14:07:38 +02:00
spear320 SPEAr: Configure FSMC driver for NAND interface 2012-07-07 14:07:38 +02:00
spear600 SPEAr: Configure FSMC driver for NAND interface 2012-07-07 14:07:38 +02:00