Changeset 8fdf4e57 in rtems


Ignore:
Timestamp:
Jan 1, 2014, 6:42:55 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
4ec210fe
Parents:
3e75900
git-author:
Sebastian Huber <sebastian.huber@…> (01/01/14 18:42:55)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/10/14 20:44:24)
Message:

bsp/lpc24xx: Add PL111 support

Location:
c/src/lib/libbsp/arm/lpc24xx
Files:
1 added
3 edited

Legend:

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

    r3e75900 r8fdf4e57  
    3333include_bsp_HEADERS += ../../shared/tod.h
    3434include_bsp_HEADERS += ../shared/include/start.h
     35include_bsp_HEADERS += ../shared/include/arm-pl111-fb.h
     36include_bsp_HEADERS += ../shared/include/arm-pl111-regs.h
    3537include_bsp_HEADERS += ../shared/lpc/include/lpc-timer.h
    3638include_bsp_HEADERS += ../shared/lpc/include/lpc-i2s.h
     
    155157        i2c/i2c-config.c
    156158
     159# Framebuffer
     160libbsp_a_SOURCES += ../shared/arm-pl111-fb.c
     161libbsp_a_SOURCES += startup/fb-config.c
     162
    157163# Cache
    158164libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
  • c/src/lib/libbsp/arm/lpc24xx/include/bsp.h

    r3e75900 r8fdf4e57  
    118118bool lpc24xx_uart_probe_3(int minor);
    119119
     120typedef enum {
     121  BSP_ARM_PL111_FATAL_REGISTER_DEV,
     122  BSP_ARM_PL111_FATAL_SEM_CREATE,
     123  BSP_ARM_PL111_FATAL_SEM_RELEASE,
     124  LPC24XX_FATAL_PL111_SET_UP,
     125  LPC24XX_FATAL_PL111_PINS_SET_UP,
     126  LPC24XX_FATAL_PL111_PINS_TEAR_DOWN,
     127  LPC24XX_FATAL_PL111_TEAR_DOWN
     128} lpc24xx_fatal_code;
     129
    120130/** @} */
    121131
  • c/src/lib/libbsp/arm/lpc24xx/preinstall.am

    r3e75900 r8fdf4e57  
    8181        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/start.h
    8282PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/start.h
     83
     84$(PROJECT_INCLUDE)/bsp/arm-pl111-fb.h: ../shared/include/arm-pl111-fb.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     85        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/arm-pl111-fb.h
     86PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/arm-pl111-fb.h
     87
     88$(PROJECT_INCLUDE)/bsp/arm-pl111-regs.h: ../shared/include/arm-pl111-regs.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     89        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/arm-pl111-regs.h
     90PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/arm-pl111-regs.h
    8391
    8492$(PROJECT_INCLUDE)/bsp/lpc-timer.h: ../shared/lpc/include/lpc-timer.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
Note: See TracChangeset for help on using the changeset viewer.