summaryrefslogtreecommitdiff
path: root/at91lib/boards/sam7-p/board_cstartup.S
diff options
context:
space:
mode:
Diffstat (limited to 'at91lib/boards/sam7-p/board_cstartup.S')
-rw-r--r--at91lib/boards/sam7-p/board_cstartup.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/at91lib/boards/sam7-p/board_cstartup.S b/at91lib/boards/sam7-p/board_cstartup.S
index 92bcf8b..384333d 100644
--- a/at91lib/boards/sam7-p/board_cstartup.S
+++ b/at91lib/boards/sam7-p/board_cstartup.S
@@ -130,6 +130,7 @@ resetHandler:
/* Set pc to actual code location (i.e. not in remap zone) */
ldr pc, =1f
+#endif /* flash_dfu */
/* Perform low-level initialization of the chip using LowLevelInit() */
1:
@@ -138,7 +139,6 @@ resetHandler:
ldr r0, =LowLevelInit
mov lr, pc
bx r0
-#endif /* flash_dfu */
/* Initialize the relocate segment */
ldr r0, =_efixed
personal git repositories of Harald Welte. Your mileage may vary