From 4b53f1918bf8099ef53a5733b3996311137c6014 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 6 Feb 2013 11:38:29 +0100 Subject: bsp/mpc55xx: Add MPC55XX_ENABLE_START_PROLOGUE --- .../libbsp/powerpc/mpc55xxevb/include/mpc55xx-config.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'c/src/lib/libbsp/powerpc/mpc55xxevb/include/mpc55xx-config.h') diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/include/mpc55xx-config.h b/c/src/lib/libbsp/powerpc/mpc55xxevb/include/mpc55xx-config.h index 9db918a118..2868b93b53 100644 --- a/c/src/lib/libbsp/powerpc/mpc55xxevb/include/mpc55xx-config.h +++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/include/mpc55xx-config.h @@ -117,6 +117,21 @@ extern BSP_START_DATA_SECTION const mpc55xx_clock_config mpc55xx_start_config_ebi_cal_cs_count []; #endif +/** + * @brief Start prologue. + * + * In case the BSP enabled the MPC55XX_ENABLE_START_PROLOGUE option, then this + * function will be called directly after the Boot Assist Module (BAM) jumped + * to the start entry defined by the reset configuration. + * + * This function executes in the context initialized by the BAM. There exists + * no valid stack pointer and the internal RAM has an invalid ECC state. + * + * The default implementation does nothing. The application may provide its + * own implementation. + */ +void mpc55xx_start_prologue(void); + void mpc55xx_start_early(void); void mpc55xx_start_flash(void); -- cgit v1.2.3