All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhang Ying-B40530 <B40530@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/6] powerpc/mpc85xx: modify the functionality clear_bss and the end address of the BSS
Date: Wed, 22 May 2013 01:57:01 +0000	[thread overview]
Message-ID: <B3A295C5BD5B13458B2F5C6AFAD910466FCD38@039-SN2MPN1-023.039d.mgd.msft.net> (raw)
In-Reply-To: <1369165056.1374.10@scott-Lenovo-G560>



-----Original Message-----
From: Wood Scott-B07421 
Sent: Wednesday, May 22, 2013 3:38 AM
To: Zhang Ying-B40530
Cc: u-boot at lists.denx.de; afleming at 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.zhang at freescale.com wrote:
> From: Ying Zhang <b40530@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.

  reply	other threads:[~2013-05-22  1:57 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-20  6:07 [U-Boot] [PATCH 1/6] powerpc/mpc85xx: support application without resetvec segment in the linker script ying.zhang at freescale.com
2013-05-20  6:07 ` [U-Boot] [PATCH 2/6] powerpc/mpc85xx: modify the functionality clear_bss and the end address of the BSS ying.zhang at freescale.com
2013-05-21 19:37   ` Scott Wood
2013-05-22  1:57     ` Zhang Ying-B40530 [this message]
2013-05-20  6:07 ` [U-Boot] [PATCH 3/6] common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT for environment in SPL ying.zhang at freescale.com
2013-05-23 15:36   ` Tom Rini
2013-06-21 20:47   ` [U-Boot] [U-Boot, " Andy Fleming
2013-05-20  6:07 ` [U-Boot] [PATCH 4/6] Makefile: move the common makefile line to public area ying.zhang at freescale.com
2013-05-24 16:04   ` Tom Rini
2013-06-06  8:51     ` Zhang Ying-B40530
2013-06-06 13:41       ` Tom Rini
2013-06-21 20:48   ` [U-Boot] [U-Boot, " Andy Fleming
2013-05-20  6:07 ` [U-Boot] [PATCH 5/6] spl: Make CONFIG_SPL_BUILD contain more functionality ying.zhang at freescale.com
2013-05-21 19:42   ` Scott Wood
2013-05-22  2:15     ` Zhang Ying-B40530
2013-05-22 15:45       ` Scott Wood
2013-05-23  1:26         ` Zhang Ying-B40530
2013-05-28 22:34           ` Scott Wood
2013-05-29  2:11             ` Zhang Ying-B40530
2013-05-29 22:54               ` Scott Wood
2013-05-24 16:07     ` Tom Rini
2013-05-24 16:11   ` Tom Rini
2013-05-24 19:08     ` Scott Wood
2013-05-24 19:18       ` Tom Rini
2013-05-27  7:43         ` Zhang Ying-B40530
2013-05-20  6:07 ` [U-Boot] [PATCH 6/6] powerpc/p1022ds: boot from SD Card with SPL ying.zhang at freescale.com
2013-05-23  2:29   ` Zhang Ying-B40530
2013-06-21 20:46 ` [U-Boot] [U-Boot, 1/6] powerpc/mpc85xx: support application without resetvec segment in the linker script Andy Fleming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B3A295C5BD5B13458B2F5C6AFAD910466FCD38@039-SN2MPN1-023.039d.mgd.msft.net \
    --to=b40530@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.