diff options
author | Ying Zhang <b40530@freescale.com> | 2013-06-07 17:25:16 +0800 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-06-20 17:08:50 -0500 |
commit | 67ad0d52df4106caacc0c640473d9b3e29ee8eba (patch) | |
tree | 329fbd4152431983a0819d0b0105b2a113e493ec /spl | |
parent | 5df572f0131cf5e0abd8ce4e8f57841b790c40d4 (diff) | |
download | u-boot-imx-67ad0d52df4106caacc0c640473d9b3e29ee8eba.zip u-boot-imx-67ad0d52df4106caacc0c640473d9b3e29ee8eba.tar.gz u-boot-imx-67ad0d52df4106caacc0c640473d9b3e29ee8eba.tar.bz2 |
powerpc/mpc85xx: modify the functionality clear_bss and aligning the end address of the BSS
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.
This patch is on top of the patch "powerpc/mpc85xx: support application
without resetvec segment in the linker script".
Signed-off-by: Ying Zhang <b40530@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'spl')
0 files changed, 0 insertions, 0 deletions