Ignore:
Timestamp:
Feb 27, 2009, 11:26:44 AM (11 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, 5, master
Children:
949166d
Parents:
92cbf96
Message:
  • README: Added NCS.
  • Makefile.am, configure.ac, preinstall.am: Added BSP variants.
  • console/console-config.c, clock/clock-config.c, ssp/ssp.c: Fixed register settings. Cleanup.
  • include/bsp.h: Added network defines and functions.
  • include/lpc24xx.h: Added AHB and EMC defines. Fixed Ethernet status sizes.
  • include/system-clocks.h, misc/system-clocks.c: Added micro seconds delay function that uses Timer 1. Changed PLL setup.
  • network/network.c, startup/bspreset.c, startup/linkcmds.lpc2478, startup/linkcmds.lpc2478_ncs, startup/linkcmds.lpc2478_ncs_ram: New files.
  • startup/bspstart.c: Added EMC initialization. Changes for ROM boot.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/lpc24xx/ssp/ssp.c

    r92cbf96 r9647f7fe  
    218218    case SSP0_BASE_ADDR:
    219219      rtems_interrupt_disable( level);
    220       SET_PCLKSEL1_PCLK_SSP0( PCLKSEL1, 1);
     220      PCLKSEL1 = SET_PCLKSEL1_PCLK_SSP0( PCLKSEL1, 1);
    221221      rtems_interrupt_enable( level);
    222222
     
    225225    case SSP1_BASE_ADDR:
    226226      rtems_interrupt_disable( level);
    227       SET_PCLKSEL0_PCLK_SSP1( PCLKSEL0, 1);
     227      PCLKSEL0 = SET_PCLKSEL0_PCLK_SSP1( PCLKSEL0, 1);
    228228      rtems_interrupt_enable( level);
    229229
     
    403403
    404404  /* Disable DMA on SSP */
    405   regs->dmacr = SSP_DMACR_RXDMAE | SSP_DMACR_TXDMAE;
     405  regs->dmacr = 0;
    406406
    407407  if (in == NULL) {
Note: See TracChangeset for help on using the changeset viewer.