summaryrefslogtreecommitdiff
path: root/firmware/target/arm/ipod/video/lcd-as-video.S
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/ipod/video/lcd-as-video.S')
-rw-r--r--firmware/target/arm/ipod/video/lcd-as-video.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/target/arm/ipod/video/lcd-as-video.S b/firmware/target/arm/ipod/video/lcd-as-video.S
index fa88dbc940..47155b8c75 100644
--- a/firmware/target/arm/ipod/video/lcd-as-video.S
+++ b/firmware/target/arm/ipod/video/lcd-as-video.S
@@ -19,6 +19,8 @@
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21 21
22#include "config.h"
23
22 .section .icode, "ax", %progbits 24 .section .icode, "ax", %progbits
23 25
24/**************************************************************************** 26/****************************************************************************
@@ -60,7 +62,7 @@ lcd_write_data: /* r1 = pixel count, must be even */
60 ldrne r3, [r0], #4 62 ldrne r3, [r0], #4
61 strne r3, [lr] 63 strne r3, [lr]
62 64
63 ldmfd sp!, {r4, pc} 65 ldmpc regs=r4
64 66
65/**************************************************************************** 67/****************************************************************************
66 * extern void lcd_write_yuv420_lines(unsigned char const * const src[3], 68 * extern void lcd_write_yuv420_lines(unsigned char const * const src[3],
@@ -294,7 +296,7 @@ lcd_write_yuv420_lines:
294 296
295 ldr r3, [sp, #12] 297 ldr r3, [sp, #12]
296 add sp, sp, r3 /* deallocate buffer */ 298 add sp, sp, r3 /* deallocate buffer */
297 ldmfd sp!, { r4-r10, pc } /* restore registers */ 299 ldmpc regs=r4-r10 /* restore registers */
298 300
299 .ltorg 301 .ltorg
300 .size lcd_write_yuv420_lines, .-lcd_write_yuv420_lines 302 .size lcd_write_yuv420_lines, .-lcd_write_yuv420_lines