diff options
Diffstat (limited to 'bsps/arm/include/bsp/start.h')
-rw-r--r-- | bsps/arm/include/bsp/start.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/bsps/arm/include/bsp/start.h b/bsps/arm/include/bsp/start.h index 0a5ce2ab62..b5d1de942c 100644 --- a/bsps/arm/include/bsp/start.h +++ b/bsps/arm/include/bsp/start.h @@ -45,15 +45,6 @@ extern "C" { #define BSP_START_DATA_SECTION __attribute__((section(".bsp_start_data"))) -/* -* Many ARM boot loaders pass arguments to loaded OS kernel -*/ -#ifdef BSP_START_HOOKS_WITH_LOADER_ARGS -#define BSP_START_HOOKS_LOADER_ARGS int saved_psr, int saved_machid, int saved_dtb_adr -#else -#define BSP_START_HOOKS_LOADER_ARGS void -#endif - /** * @brief System start entry. */ @@ -66,7 +57,7 @@ void _start(void); * stack pointers are initialized but before the copying of the exception * vectors. */ -void bsp_start_hook_0(BSP_START_HOOKS_LOADER_ARGS); +void bsp_start_hook_0(void); /** * @brief Start entry hook 1. @@ -74,7 +65,7 @@ void bsp_start_hook_0(BSP_START_HOOKS_LOADER_ARGS); * This hook will be called from the start entry code after copying of the * exception vectors but before the call to boot_card(). */ -void bsp_start_hook_1(BSP_START_HOOKS_LOADER_ARGS); +void bsp_start_hook_1(void); /** * @brief Similar to standard memcpy(). |