diff options
author | Wolfgang Denk <wd@denx.de> | 2012-07-20 22:38:32 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-07-20 22:38:32 +0200 |
commit | c2b3dcc24d80cd40b0e83bd169e787303c4055cc (patch) | |
tree | c976bfe162df127bfbe1d1019abee4e87d26833e /arch/arm/cpu/lh7a40x/start.S | |
parent | 3c692f9706a1d85dc5fc518fa8503c1862f15088 (diff) | |
parent | a21c65115bd95572cc80092a31b0e9ecb8710e9f (diff) | |
download | u-boot-imx-c2b3dcc24d80cd40b0e83bd169e787303c4055cc.zip u-boot-imx-c2b3dcc24d80cd40b0e83bd169e787303c4055cc.tar.gz u-boot-imx-c2b3dcc24d80cd40b0e83bd169e787303c4055cc.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-arm
* 'master' of git://git.denx.de/u-boot-arm:
ARM: lib: Remove CONFIG_ARCH_CPU_INIT dependency
ARM: OMAP4: PANDA: Add rest of the USB module pads to essentials
arm: armv7: add compile option -mno-unaligned-access if available
arm: Fix to mistake clean the memory space
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'arch/arm/cpu/lh7a40x/start.S')
-rw-r--r-- | arch/arm/cpu/lh7a40x/start.S | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/cpu/lh7a40x/start.S b/arch/arm/cpu/lh7a40x/start.S index 62de8b8..bd68cd4 100644 --- a/arch/arm/cpu/lh7a40x/start.S +++ b/arch/arm/cpu/lh7a40x/start.S @@ -245,10 +245,12 @@ clear_bss: add r1, r1, r4 mov r2, #0x00000000 /* clear */ -clbss_l:str r2, [r0] /* clear loop... */ +clbss_l:cmp r0, r1 /* clear loop... */ + bhs clbss_e /* if reached end of bss, exit */ + str r2, [r0] add r0, r0, #4 - cmp r0, r1 - bne clbss_l + b clbss_l +clbss_e: #endif /* |