-----Original Message----- From: Wood Scott-B07421 Sent: Wednesday, May 22, 2013 3:38 AM To: Zhang Ying-B40530 Cc: u-boot@lists.denx.de; aflem...@gmail.com; Xie Xiaobo-R63061; Zhang Ying-B40530 Subject: Re: [PATCH 2/6] powerpc/mpc85xx: modify the functionality clear_bss and the end address of the BSS
On 05/20/2013 01:07:24 AM, ying.zh...@freescale.com wrote: > From: Ying Zhang <b40...@freescale.com> > > There will clear the BSS in the function clear_bss(), the reset > address of > the BSS started from the __bss_start, and increased by four-byte > increments, > finally stoped depending on the address is equal to the _bss_end. If > the end > address __bss_end is not alignment to 4byte, it will be an infinite > loop. > > 1. The reset action stoped depending on the reset address is greater > than or equal the end address of the BSS. > 2. The end address of the BSS should be 4byte aligned. Because the > reset unit > is 4 Bytes. Should we add explicit alignment of the BSS start as well? [Zhang Ying] That is better. I can add. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot