diff options
-rw-r--r-- | bsps/arm/include/bsp/start.h | 6 | ||||
-rw-r--r-- | bsps/arm/tms570/start/bspstarthooks-hwinit.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bsps/arm/include/bsp/start.h b/bsps/arm/include/bsp/start.h index e10c2e5df7..a7114f1086 100644 --- a/bsps/arm/include/bsp/start.h +++ b/bsps/arm/include/bsp/start.h @@ -73,6 +73,12 @@ void _start(void); void bsp_start_hook_0(void); /** +* @brief Can be used by bsp_start_hook_0() to jump back to the start code +* instead of using the link register. +*/ +void bsp_start_hook_0_done(void); + +/** * @brief Start entry hook 1. * * This hook will be called from the start entry code after copying of the diff --git a/bsps/arm/tms570/start/bspstarthooks-hwinit.c b/bsps/arm/tms570/start/bspstarthooks-hwinit.c index 660c87f08d..407ab142ff 100644 --- a/bsps/arm/tms570/start/bspstarthooks-hwinit.c +++ b/bsps/arm/tms570/start/bspstarthooks-hwinit.c @@ -7,8 +7,6 @@ #include <bsp/tms570_selftest_parity.h> #include <bsp/tms570_hwinit.h> -void bsp_start_hook_0_done( void ); - static inline int tms570_running_from_tcram( void ) { |