From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Tue, 21 May 2013 14:37:36 -0500 Subject: [U-Boot] [PATCH 2/6] powerpc/mpc85xx: modify the functionality clear_bss and the end address of the BSS In-Reply-To: <1369030048-26130-2-git-send-email-ying.zhang@freescale.com> (from ying.zhang@freescale.com on Mon May 20 01:07:24 2013) References: <1369030048-26130-1-git-send-email-ying.zhang@freescale.com> <1369030048-26130-2-git-send-email-ying.zhang@freescale.com> Message-ID: <1369165056.1374.10@scott-Lenovo-G560> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/20/2013 01:07:24 AM, ying.zhang at freescale.com wrote: > From: Ying Zhang > > 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? -Scott