From 3edf9cba67259c1f7bae7ddc57d0b1aa450a8a39 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 20 Sep 2022 13:45:09 +0200 Subject: bsps/arm: Move bsp_start_hook_0_done() Declare bsp_start_hook_0_done() in . --- bsps/arm/include/bsp/start.h | 6 ++++++ bsps/arm/tms570/start/bspstarthooks-hwinit.c | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'bsps/arm') 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 @@ -72,6 +72,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. * 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 #include -void bsp_start_hook_0_done( void ); - static inline int tms570_running_from_tcram( void ) { -- cgit v1.2.3