Ignore:
Timestamp:
Aug 31, 2011, 4:03:10 PM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
d783a1e
Parents:
f23c9ed
Message:

2011-08-31 Sebastian Huber <sebastian.huber@…>

  • startup/bspgetworkarea.c, startup/linkcmds.base: Removed files.
  • include/mpc55xx-config.h, make/custom/mpc5674fevb.cfg, startup/early-init.c, startup/ebi-cal-cs-config.c, startup/ebi-cs-config.c, startup/exc-vector-base.S, startup/fmpll-syncr-vals.c, startup/linkcmds.mpc5674fevb, startup/mmu-config.c, startup/siu-pcr-config.c: New files.
  • Makefile.am, preinstall.am: Reflect changes above.
  • startup/linkcmds.gwlcfm, startup/linkcmds.mpc5566evb, startup/linkcmds.phycore_mpc5554: Use linker command base file.
  • configure.ac: Support MPC5674F. Changed eSCI options.
  • clock/clock-config.c: Support MPC5674F.
  • i2c/i2c_init.c, network/smsc9218i.c, startup/sd-card-init.c: Update due to API changes.
  • include/bsp.h: Define BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN.
  • network/if_smc.c: Use HAS_SMC91111.
  • startup/start.S, startup/bspstart.c: Moved low-level initialization into new files. Overall cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mpc55xxevb/clock/clock-config.c

    rf23c9ed r9e7758b  
    5050
    5151  sc = mpc55xx_interrupt_handler_install(
    52     MPC55XX_IRQ_EMIOS_GET_REQUEST( MPC55XX_CLOCK_EMIOS_CHANNEL),
     52    MPC55XX_IRQ_EMIOS( MPC55XX_CLOCK_EMIOS_CHANNEL),
    5353    "clock",
    5454    RTEMS_INTERRUPT_UNIQUE,
     
    9797  regs->CSR.R = csr.R;
    9898
     99  /* Set internal counter start value */
     100  regs->CCNTR.R = 1;
     101
    99102  /* Set timer period */
    100103  regs->CADR.R = (uint32_t) interval - 1;
    101104
    102   /* Set unused registers */
    103   regs->CBDR.R = 0;
    104   regs->CCNTR.R = 0;
    105 #if MPC55XX_CHIP_TYPE != 5554
    106   /* This is reserved on the MPC5554.
    107    */
    108   regs->ALTCADR.R = 0;
    109 #endif
    110 
    111105  /* Set control register */
    112   /* The mode change, made by Thomas for GW_LCFM support, breaks interrupts
    113    * on the MPC5554.
    114    */
    115 #if MPC55XX_CHIP_TYPE == 5554
     106#if MPC55XX_CHIP_TYPE / 10 == 551
     107  ccr.B.MODE = MPC55XX_EMIOS_MODE_MCB_UP_INT_CLK;
     108#else
    116109  ccr.B.MODE = MPC55XX_EMIOS_MODE_MC_UP_INT_CLK;
    117 #else
    118   ccr.B.MODE = MPC55XX_EMIOS_MODE_MCB_UP_INT_CLK;
    119110#endif
    120111  ccr.B.UCPREN = 1;
     
    136127  /* Remove interrupt handler */
    137128  sc = rtems_interrupt_handler_remove(
    138     MPC55XX_IRQ_EMIOS_GET_REQUEST( MPC55XX_CLOCK_EMIOS_CHANNEL),
     129    MPC55XX_IRQ_EMIOS( MPC55XX_CLOCK_EMIOS_CHANNEL),
    139130    (rtems_interrupt_handler) Clock_isr,
    140131    NULL
Note: See TracChangeset for help on using the changeset viewer.