Changeset 84e4d10c in rtems


Ignore:
Timestamp:
May 9, 2017, 2:00:56 PM (3 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
master
Children:
3feae3b
Parents:
c92f402c
git-author:
Daniel Hellstrom <daniel@…> (05/09/17 14:00:56)
git-committer:
Daniel Hellstrom <daniel@…> (05/14/17 10:32:00)
Message:

leon, apbuart: remove old RAW UART driver

This driver was initially intended for APBUART access on GRLIB PCI
peripherals (AMBA-over-PCI). There are already many APBUART drivers
for LEON. Instead of using this one the termios APBUART should work
on AMBA-over-PCI systems with recent changes on LEON3, however that
has not been tested yet.

Location:
c/src/lib/libbsp/sparc
Files:
1 deleted
4 edited

Legend:

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

    rc92f402c r84e4d10c  
    8484EXTRA_DIST += shared/include/cons.h
    8585EXTRA_DIST += shared/include/apbuart_cons.h
    86 EXTRA_DIST += shared/uart/apbuart.c
    8786EXTRA_DIST += shared/include/apbuart.h
    8887
  • c/src/lib/libbsp/sparc/leon2/Makefile.am

    rc92f402c r84e4d10c  
    155155# UART (RAW)
    156156include_bsp_HEADERS += ../../sparc/shared/include/apbuart.h
    157 libbsp_a_SOURCES += ../../sparc/shared/uart/apbuart.c
    158157
    159158# I2CMST
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    rc92f402c r84e4d10c  
    171171include_bsp_HEADERS += ../../sparc/shared/include/apbuart.h \
    172172    ../../sparc/shared/include/apbuart_termios.h
    173 libbsp_a_SOURCES += ../../sparc/shared/uart/apbuart.c \
    174     ../../sparc/shared/uart/apbuart_termios.c
     173libbsp_a_SOURCES += ../../sparc/shared/uart/apbuart_termios.c
    175174
    176175# I2CMST
  • c/src/lib/libbsp/sparc/shared/include/apbuart.h

    rc92f402c r84e4d10c  
    2525extern "C" {
    2626#endif
    27 
    28 typedef struct {
    29   unsigned int hw_dovr;
    30   unsigned int hw_parity;
    31   unsigned int hw_frame;
    32   unsigned int sw_dovr;
    33   unsigned int rx_cnt;
    34   unsigned int tx_cnt;
    35 } apbuart_stats;
    36 
    37 #define APBUART_START    0
    38 #define APBUART_STOP     1
    39 #define APBUART_SET_RXFIFO_LEN 2
    40 #define APBUART_SET_TXFIFO_LEN 3
    41 #define APBUART_SET_BAUDRATE   4
    42 #define APBUART_SET_SCALER     5
    43 #define APBUART_SET_BLOCKING   6
    44 #define APBUART_SET_ASCII_MODE 7
    45 
    46 
    47 #define APBUART_GET_STATS 16
    48 #define APBUART_CLR_STATS 17
    49 
    50 #define APBUART_BLK_RX 0x1
    51 #define APBUART_BLK_TX 0x2
    52 #define APBUART_BLK_FLUSH 0x4
    53 
    5427
    5528#define APBUART_CTRL_RE 0x1
     
    8154#define APBUART_STATUS_RF 0x400
    8255
    83 /* Register APBUART driver
    84  * bus =  pointer to AMBA bus description used to search for APBUART(s).
    85  *        (&ambapp_plb for LEON3), (LEON2: see amba_scan)
    86  */
    87 int apbuart_register (struct ambapp_bus *bus);
    88 
    8956#ifdef __cplusplus
    9057}
Note: See TracChangeset for help on using the changeset viewer.