Changeset afd1967 in rtems


Ignore:
Timestamp:
Sep 24, 2012, 10:51:47 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
7f5ab84e
Parents:
90e2026
git-author:
Sebastian Huber <sebastian.huber@…> (09/24/12 10:51:47)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/28/12 14:43:19)
Message:

bsps/arm: Add LPC_DMA_CHANNEL_COUNT

Location:
c/src/lib/libbsp/arm
Files:
3 edited

Legend:

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

    r90e2026 rafd1967  
    114114RTEMS_BSPOPTS_HELP([LPC24XX_STOP_USB],[stop USB controller at start-up to avoid DMA interference])
    115115
     116RTEMS_BSPOPTS_SET([LPC_DMA_CHANNEL_COUNT],[lpc17*],[8])
     117RTEMS_BSPOPTS_SET([LPC_DMA_CHANNEL_COUNT],[*],[2])
     118RTEMS_BSPOPTS_HELP([LPC_DMA_CHANNEL_COUNT],[DMA channel count])
     119
    116120RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[lpc24xx_ncs_rom_ext],[0x80000040])
    117121RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
  • c/src/lib/libbsp/arm/lpc32xx/configure.ac

    r90e2026 rafd1967  
    8686RTEMS_BSPOPTS_HELP([LPC32XX_ENABLE_WATCHDOG_RESET],[bsp_reset() will use the watchdog to reset the chip])
    8787
     88RTEMS_BSPOPTS_SET([LPC_DMA_CHANNEL_COUNT],[*],[8])
     89RTEMS_BSPOPTS_HELP([LPC_DMA_CHANNEL_COUNT],[DMA channel count])
     90
    8891RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
    8992RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
  • c/src/lib/libbsp/arm/shared/lpc/include/lpc-dma.h

    r90e2026 rafd1967  
    88
    99/*
    10  * Copyright (c) 2010-2011 embedded brains GmbH.  All rights reserved.
     10 * Copyright (c) 2010-2012 embedded brains GmbH.  All rights reserved.
    1111 *
    1212 *  embedded brains GmbH
     
    2424#define LIBBSP_ARM_SHARED_LPC_DMA_H
    2525
     26#include <bspopts.h>
    2627#include <bsp/utility.h>
    2728
     
    7980  uint32_t sync;
    8081  uint32_t reserved [50];
    81   lpc_dma_channel channels [];
     82  lpc_dma_channel channels [LPC_DMA_CHANNEL_COUNT];
    8283} lpc_dma;
    8384
Note: See TracChangeset for help on using the changeset viewer.