summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-04-24 09:00:59 +0800
committerGitHub <[email protected]>2020-04-24 09:00:59 +0800
commit4b33ba947b9f0684b236210d55d4cb20fd0badf1 (patch)
tree329eb0130f87ff20b064e19bf5a3e2dd2ed5a59f /libcpu
parent7b055bd8be15b6d49fe189170f226849ac7f0e69 (diff)
parent5e507448ee71499aa1fbaa1f273372318f569331 (diff)
Merge pull request #3545 from DavidLin1577/patch-7
[libcpu/arm]Update start_gcc.S
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/arm/s3c24x0/start_gcc.S2
-rw-r--r--libcpu/arm/s3c44b0/start_gcc.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/arm/s3c24x0/start_gcc.S b/libcpu/arm/s3c24x0/start_gcc.S
index 4adc458094..cc2b2f6310 100644
--- a/libcpu/arm/s3c24x0/start_gcc.S
+++ b/libcpu/arm/s3c24x0/start_gcc.S
@@ -191,7 +191,7 @@ reset:
copy_loop:
ldmia r0!, {r3-r10} /* copy from source address [r0] */
stmia r1!, {r3-r10} /* copy to target address [r1] */
- cmp r0, r2 /* until source end addreee [r2] */
+ cmp r0, r2 /* until source end address [r2] */
ble copy_loop
/* setup stack */
diff --git a/libcpu/arm/s3c44b0/start_gcc.S b/libcpu/arm/s3c44b0/start_gcc.S
index 65b3d422dd..4c448a344f 100644
--- a/libcpu/arm/s3c44b0/start_gcc.S
+++ b/libcpu/arm/s3c44b0/start_gcc.S
@@ -107,7 +107,7 @@ reset:
copy_loop:
ldmia r0!, {r3-r10} /* copy from source address [r0] */
stmia r1!, {r3-r10} /* copy to target address [r1] */
- cmp r0, r2 /* until source end addreee [r2] */
+ cmp r0, r2 /* until source end address [r2] */
ble copy_loop
#endif