summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-05-27 11:16:29 +0900
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-06-09 10:36:40 +0200
commit0a26e1d6c394aacbf1153977b7348d1dff85db3f (patch)
tree0e71f7cc36345ec41163c782987a9754ac5bf4fe
parentb924d586d70bd52c3648870d3313b2ea7081c83d (diff)
downloadu-boot-imx-0a26e1d6c394aacbf1153977b7348d1dff85db3f.zip
u-boot-imx-0a26e1d6c394aacbf1153977b7348d1dff85db3f.tar.gz
u-boot-imx-0a26e1d6c394aacbf1153977b7348d1dff85db3f.tar.bz2
arm: fix a double-definition error of _start symbol
The symbol "_start" is defined twice in arch/arm/lib/vectors.S: around line 48 and line 54. If CONFIG_SYS_DV_NOR_BOOT_CFG is defined (as on calimain board), build fails: arch/arm/lib/vectors.S: Assembler messages: arch/arm/lib/vectors.S:54: Error: symbol `_start' is already defined make[1]: *** [arch/arm/lib/vectors.o] Error 1 make: *** [arch/arm/lib] Error 2 Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-rw-r--r--arch/arm/lib/vectors.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/lib/vectors.S b/arch/arm/lib/vectors.S
index d68cc47..e6538ef 100644
--- a/arch/arm/lib/vectors.S
+++ b/arch/arm/lib/vectors.S
@@ -43,8 +43,6 @@
*************************************************************************
*/
-_start:
-
#ifdef CONFIG_SYS_DV_NOR_BOOT_CFG
.word CONFIG_SYS_DV_NOR_BOOT_CFG
#endif