summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/mx6
diff options
context:
space:
mode:
authorAneesh V <aneesh@ti.com>2012-03-08 07:20:18 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 08:31:26 +0200
commit74236acacc27168102b2e3fbcac3a80e5ed82fe4 (patch)
treed51b458bf87b6649851170c418bedb60ef1228d9 /arch/arm/cpu/armv7/mx6
parent7245536d19aaf0a6dc1c2d4a8fa80adf2f2ae739 (diff)
downloadu-boot-imx-74236acacc27168102b2e3fbcac3a80e5ed82fe4.zip
u-boot-imx-74236acacc27168102b2e3fbcac3a80e5ed82fe4.tar.gz
u-boot-imx-74236acacc27168102b2e3fbcac3a80e5ed82fe4.tar.bz2
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/mx6')
-rw-r--r--arch/arm/cpu/armv7/mx6/lowlevel_init.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/mx6/lowlevel_init.S b/arch/arm/cpu/armv7/mx6/lowlevel_init.S
index 1864356..acadef2 100644
--- a/arch/arm/cpu/armv7/mx6/lowlevel_init.S
+++ b/arch/arm/cpu/armv7/mx6/lowlevel_init.S
@@ -18,7 +18,8 @@
*/
.section ".text.init", "x"
-.globl lowlevel_init
-lowlevel_init:
+#include <linux/linkage.h>
+ENTRY(lowlevel_init)
mov pc, lr
+ENDPROC(lowlevel_init)