summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mpc55xxevb/include/mpc55xx-config.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-02-06 11:38:29 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-02-06 15:35:55 +0100
commit4b53f1918bf8099ef53a5733b3996311137c6014 (patch)
treed9b1bc8b759a6661ff321005684a81b86f70ac39 /c/src/lib/libbsp/powerpc/mpc55xxevb/include/mpc55xx-config.h
parentbsp/mpc55xx: Merge RSM6 variants into one (diff)
downloadrtems-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.h15
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);