summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/s5pc1xx/reset.S
diff options
context:
space:
mode:
authorAneesh V <aneesh@ti.com>2012-03-08 07:20:18 (GMT)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 06:31:26 (GMT)
commit74236acacc27168102b2e3fbcac3a80e5ed82fe4 (patch)
treed51b458bf87b6649851170c418bedb60ef1228d9 /arch/arm/cpu/armv7/s5pc1xx/reset.S
parent7245536d19aaf0a6dc1c2d4a8fa80adf2f2ae739 (diff)
downloadu-boot-74236acacc27168102b2e3fbcac3a80e5ed82fe4.tar.xz
armv7: add appropriate headers for assembly functions
Use ENTRY and ENDPROC with assembly functions to ensure necessary assembler directives for all functions. Signed-off-by: Aneesh V <aneesh@ti.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/arm/cpu/armv7/s5pc1xx/reset.S')
-rw-r--r--arch/arm/cpu/armv7/s5pc1xx/reset.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/s5pc1xx/reset.S b/arch/arm/cpu/armv7/s5pc1xx/reset.S
index 70fa146..c7a41d0 100644
--- a/arch/arm/cpu/armv7/s5pc1xx/reset.S
+++ b/arch/arm/cpu/armv7/s5pc1xx/reset.S
@@ -22,12 +22,12 @@
*/
#include <asm/arch/cpu.h>
+#include <linux/linkage.h>
#define S5PC100_SWRESET 0xE0200000
#define S5PC110_SWRESET 0xE0102000
-.globl reset_cpu
-reset_cpu:
+ENTRY(reset_cpu)
ldr r1, =S5PC100_PRO_ID
ldr r2, [r1]
ldr r4, =0x00010000
@@ -45,3 +45,4 @@ reset_cpu:
str r2, [r1]
_loop_forever:
b _loop_forever
+ENDPROC(reset_cpu)