Changeset 4b53f191 in rtems


Ignore:
Timestamp:
Feb 6, 2013, 10:38:29 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
9d23df2
Parents:
dc5cd79
git-author:
Sebastian Huber <sebastian.huber@…> (02/06/13 10:38:29)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/06/13 14:35:55)
Message:

bsp/mpc55xx: Add MPC55XX_ENABLE_START_PROLOGUE

Location:
c/src/lib/libbsp/powerpc/mpc55xxevb
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am

    rdc5cd79 r4b53f191  
    8787libbsp_a_SOURCES += startup/start-config-mmu-early.c
    8888libbsp_a_SOURCES += startup/start-config-siu-pcr.c
     89libbsp_a_SOURCES += startup/start-prologue.c
    8990libbsp_a_SOURCES += startup/start-early.c
    9091libbsp_a_SOURCES += startup/start-cache.S
  • c/src/lib/libbsp/powerpc/mpc55xxevb/configure.ac

    rdc5cd79 r4b53f191  
    205205RTEMS_BSPOPTS_HELP([MPC55XX_NEEDS_LOW_LEVEL_INIT],[if defined, do low level initialization])
    206206
     207RTEMS_BSPOPTS_SET([MPC55XX_ENABLE_START_PROLOGUE],[mpc5674f_rsm6],[1])
     208RTEMS_BSPOPTS_HELP([MPC55XX_ENABLE_START_PROLOGUE],[if defined, enable start prologue])
     209
    207210AC_CONFIG_FILES([Makefile
    208211include/bspopts.h])
  • c/src/lib/libbsp/powerpc/mpc55xxevb/include/mpc55xx-config.h

    rdc5cd79 r4b53f191  
    118118#endif
    119119
     120/**
     121 * @brief Start prologue.
     122 *
     123 * In case the BSP enabled the MPC55XX_ENABLE_START_PROLOGUE option, then this
     124 * function will be called directly after the Boot Assist Module (BAM) jumped
     125 * to the start entry defined by the reset configuration.
     126 *
     127 * This function executes in the context initialized by the BAM.  There exists
     128 * no valid stack pointer and the internal RAM has an invalid ECC state.
     129 *
     130 * The default implementation does nothing.  The application may provide its
     131 * own implementation.
     132 */
     133void mpc55xx_start_prologue(void);
     134
    120135void mpc55xx_start_early(void);
    121136
  • c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start.S

    rdc5cd79 r4b53f191  
    8080
    8181_start:
     82
     83#ifdef MPC55XX_ENABLE_START_PROLOGUE
     84        bl      mpc55xx_start_prologue
     85#endif
    8286
    8387#ifdef MPC55XX_NEEDS_LOW_LEVEL_INIT
Note: See TracChangeset for help on using the changeset viewer.