On Wednesday 07 March 2012 13:03:50 Amit Virdi wrote: > 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.vi...@st.com>
Acked-by: Stefan Roese <s...@denx.de> Thanks, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: off...@denx.de _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot