mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-23 23:51:22 +02:00
Most of the bss initialization loop increments 4 bytes at a time. And the loop end is checked for an 'equal' condition. Make the bss end address aligned by 4, so that the loop will end as expected. Signed-off-by: Selvamuthukumar <selva.muthukumar@e-coninfotech.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
Written by Thomas.Lange@corelatus.com 010805 To make a system for gth that actually works ;-) the variable TBASE needs to be set to 0,1 or 2 depending on location where image is supposed to be started from. E.g. make TBASE=1 0: Start from RAM, base 0 1: Start from flash_base + 0x10070 2: Start from flash_base + 0x30070 When using 1 or 2, the image is supposed to be launched from miniboot that boots the first U-Boot image found in flash. For miniboot code, description, see www.opensource.se