diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-02-06 11:38:29 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-02-06 15:35:55 +0100 |
commit | 4b53f1918bf8099ef53a5733b3996311137c6014 (patch) | |
tree | d9b1bc8b759a6661ff321005684a81b86f70ac39 /c/src/lib/libbsp/powerpc/mpc55xxevb/include/mpc55xx-config.h | |
parent | bsp/mpc55xx: Merge RSM6 variants into one (diff) | |
download | rtems-4b53f1918bf8099ef53a5733b3996311137c6014.tar.bz2 |
bsp/mpc55xx: Add MPC55XX_ENABLE_START_PROLOGUE
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc55xxevb/include/mpc55xx-config.h')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mpc55xxevb/include/mpc55xx-config.h | 15 |
1 files changed, 15 insertions, 0 deletions
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); |