summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/stages.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/arm/stages.c b/src/arch/arm/stages.c
index 11acc9bd7b..614663fec2 100644
--- a/src/arch/arm/stages.c
+++ b/src/arch/arm/stages.c
@@ -31,7 +31,10 @@
#include <arch/stages.h>
#include <arch/cache.h>
-void stage_entry(void)
+/**
+ * generic stage entry point. override this if board specific code is needed.
+ */
+__attribute__((weak)) void stage_entry(void)
{
main();
}