diff options
Diffstat (limited to 'firmware/target/arm/ata-as-arm.S')
-rw-r--r-- | firmware/target/arm/ata-as-arm.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/ata-as-arm.S b/firmware/target/arm/ata-as-arm.S index b1cafc2221..101bc4dcc1 100644 --- a/firmware/target/arm/ata-as-arm.S +++ b/firmware/target/arm/ata-as-arm.S | |||
@@ -146,7 +146,7 @@ copy_read_sectors: | |||
146 | 146 | ||
147 | strb r3, [r0], #1 /* store final byte */ | 147 | strb r3, [r0], #1 /* store final byte */ |
148 | 148 | ||
149 | ldmfd sp!, {r4, r5, pc} | 149 | ldmpc regs=r4-r5 |
150 | 150 | ||
151 | /* 16-bit aligned */ | 151 | /* 16-bit aligned */ |
152 | .r_aligned: | 152 | .r_aligned: |
@@ -195,7 +195,7 @@ copy_read_sectors: | |||
195 | ldrneh r3, [r2] | 195 | ldrneh r3, [r2] |
196 | strneh r3, [r0], #2 | 196 | strneh r3, [r0], #2 |
197 | 197 | ||
198 | ldmfd sp!, {r4, r5, pc} | 198 | ldmpc regs=r4-r5 |
199 | 199 | ||
200 | .r_end: | 200 | .r_end: |
201 | .size copy_read_sectors,.r_end-copy_read_sectors | 201 | .size copy_read_sectors,.r_end-copy_read_sectors |
@@ -300,7 +300,7 @@ copy_write_sectors: | |||
300 | orr r3, r3, r4, lsl #8 | 300 | orr r3, r3, r4, lsl #8 |
301 | strh r3, [r2] /* write final halfword */ | 301 | strh r3, [r2] /* write final halfword */ |
302 | 302 | ||
303 | ldmfd sp!, {r4, r5, pc} | 303 | ldmpc regs=r4-r5 |
304 | 304 | ||
305 | /* 16-bit aligned */ | 305 | /* 16-bit aligned */ |
306 | .w_aligned: | 306 | .w_aligned: |
@@ -349,7 +349,7 @@ copy_write_sectors: | |||
349 | ldrneh r3, [r0], #2 | 349 | ldrneh r3, [r0], #2 |
350 | strneh r3, [r2] | 350 | strneh r3, [r2] |
351 | 351 | ||
352 | ldmfd sp!, {r4, r5, pc} | 352 | ldmpc regs=r4-r5 |
353 | 353 | ||
354 | .w_end: | 354 | .w_end: |
355 | .size copy_write_sectors,.w_end-copy_write_sectors | 355 | .size copy_write_sectors,.w_end-copy_write_sectors |