summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-11-01 08:50:55 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-11-02 22:15:15 +0100
commitfe93cc5827d6287cefedda802c475d29591e6753 (patch)
tree0e7e3a67cf78b4725146bfb57ee6b6ca1f744095 /arch
parentba9b8d07ec8c51cdf7c5b5cdd0bcee8d964f8735 (diff)
downloadbarebox-fe93cc5827d6287cefedda802c475d29591e6753.tar.gz
barebox-fe93cc5827d6287cefedda802c475d29591e6753.tar.xz
ARM OMAP3: Put reset() into its own section
Needed so that the linker can throw it away when unused. This is needed at least on current master for being able to enable pbl support for omap3 boards. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap/omap3_core.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap/omap3_core.S b/arch/arm/mach-omap/omap3_core.S
index df7c5b480e..c3e4086c1f 100644
--- a/arch/arm/mach-omap/omap3_core.S
+++ b/arch/arm/mach-omap/omap3_core.S
@@ -39,6 +39,7 @@
#include <asm/barebox-arm-head.h>
#ifdef CONFIG_MACH_DO_LOWLEVEL_INIT
+.section .text.__reset
ENTRY(reset)
/* Invalidate all Dcaches */
#ifndef CONFIG_CPU_V7_DCACHE_SKIP