Changeset 0542a23 in rtems


Ignore:
Timestamp:
May 6, 2008, 8:54:06 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
dbdb0255
Parents:
e06b6b0
Message:

2008-05-06 Ray Xu <rayx.cn@…>

  • console/uart.c, include/bsp.h, smc/smc.c, startup/bspstart.c: Merge smdk2410 with gp32.
Location:
c/src/lib/libbsp/arm/gp32
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/gp32/ChangeLog

    re06b6b0 r0542a23  
     12008-05-06      Ray Xu <rayx.cn@gmail.com>
     2
     3        * console/uart.c, include/bsp.h, smc/smc.c, startup/bspstart.c: Merge
     4        smdk2410 with gp32.
     5
    162008-03-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • c/src/lib/libbsp/arm/gp32/console/uart.c

    re06b6b0 r0542a23  
    2626
    2727/* Put the CPU (or UART) specific header file #include here */
    28 #include <s3c2400.h>
     28#include <s3c24xx.h>
    2929#include <libchip/serial.h>
    3030#include <libchip/sersupp.h>
  • c/src/lib/libbsp/arm/gp32/include/bsp.h

    re06b6b0 r0542a23  
    2929#include <rtems/console.h>
    3030#include <rtems/clockdrv.h>
    31 #include <s3c2400.h>
     31#include <s3c24xx.h>
    3232
    3333#define gp32_initButtons() {rPBCON=0x0;}
  • c/src/lib/libbsp/arm/gp32/smc/smc.c

    re06b6b0 r0542a23  
    1818#include "smc.h"
    1919#include <rtems/bspIo.h>
    20 #include <s3c2400.h>
     20#include <s3c24xx.h>
    2121
    2222#define SMC_DEVICE_NAME "/dev/smc"
     
    5858  uint32_t mb;
    5959};
     60
     61#ifdef CPU_S3C2410      //different regester map
     62#define rPBDAT rGPBDAT
     63#define rPBCON rGPBCON
     64#define rPDDAT rGPDDAT
     65#define rPEDAT rGPEDAT
     66#endif
     67
    6068
    6169static struct SMC_INFO smc_info;
  • c/src/lib/libbsp/arm/gp32/startup/bspstart.c

    re06b6b0 r0542a23  
    1919#include <rtems/libio.h>
    2020#include <rtems/bspIo.h>
    21 #include <s3c2400.h>
     21#include <s3c24xx.h>
    2222
    2323/*-------------------------------------------------------------------------+
     
    9393
    9494    /* stop RTC */
     95#ifdef CPU_S3C2400
    9596    rTICINT=0x0;
    96 
     97#else
     98    rTICNT=0x0;
     99#endif
    97100    /* stop watchdog,ADC and timers */
    98101    rWTCON=0x0;
Note: See TracChangeset for help on using the changeset viewer.