summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/uart (follow)
Commit message (Collapse)AuthorAgeFilesLines
* APBUART_CONS: fix build warningDaniel Hellstrom2015-04-171-4/+5
|
* APBUART: debug bit was cleared incorrectlyDaniel Hellstrom2015-04-171-16/+16
|
* APBUART: fix GRMON -u support for older UARTsDaniel Hellstrom2015-04-171-2/+14
|
* LEON: updated and added PCI peripherals for LEON BSPsDaniel Hellstrom2015-04-172-87/+0
| | | | | | | | | | | | | | | | | | | | The CCHIP driver is replaced with the GR_701 driver. The RASTA driver is replaced by the GR-RASTA-IO driver. All drivers are now compatible with both LEON2 and LEON3, drivers were initialized directly by the PCI-board drivers are now initialized by the driver manager and therefore does not require the double code created by including for example grcan.c into grcan_rasta.c. The other drivers needs to be updated to the driver manager framework however. Added support for: * GR-701 (only LEON2 before) * GR-RASTA-IO (only LEON2 before) * GR-RASTA-ADCDAC * GR-RASTA-TMTC * GR-RASTA-SPW-ROUTER * GR-TMTC-1553
* LEON3: new Console driver, APBUART driver using Driver ManagerDaniel Hellstrom2015-04-172-0/+866
| | | | | | | | | | | | | | | | | | | | | | | | | This patch reimplements the console driver of the LEON3 BSP, it has split up the console driver in two parts: Console driver and UART driver. Before the only UART supported was APBUART and only on-chip APBUARTs found during startup. However splitting the driver in two allows any UART interface to reuse the termios attach code of the console driver, pratically this has always been a problem when discovering APBUARTs after startup for example the PCI board GR-RASTA-IO has APBUARTs and must wait until after PCI has been setup. Since the only current driver that supports the new console driver uses the Driver Manager, the new console driver is only enabled when Driver Manager is initialized during startup. The new APBUART driver supports: * polling mode * interrupt mode * task-driven mode * set UART attributes * read UART attributes (system console inherit settings from boot loader) * Driver manager for finding/initialization of the hardware
* bsps/sparc: Use calloc()Sebastian Huber2015-01-231-3/+1
| | | | Close #2242.
* sparc/leon2: Fix warningsJoel Sherrill2014-10-131-0/+2
|
* LEON: let termios layer handle \n also in pollingDaniel Hellstrom2014-10-091-1/+1
|
* LEON: console print \r\n instead of \n\rDaniel Hellstrom2014-10-091-2/+3
|
* termios: Partially hide rtems_termios_ttySebastian Huber2014-10-071-20/+25
| | | | | | | Move interrupt lock to device context and expose only this structure to the read, write and set attributes device handler. This makes these device handler independent of the general Termios infrastructure suitable for direct use in printk() support.
* bsps/sparc: Set best baud in APBUART driverSebastian Huber2014-07-091-0/+14
| | | | | This prevents failures of all tests using rtems_shell_wait_for_input(), e.g. capture, termios, pppd, etc.
* bsps/sparc: Move APBUART printk supportChristian Mauderer2014-07-091-0/+51
|
* bsps/sparc: Add and use shared APBUART consoleSebastian Huber2014-07-091-0/+240
| | | | | | Move the APBUART console driver support to the shared SPARC area so that it can be reused by other BSPs. Only the console driver initialization is now BSP specific.
* bsps/sparc: Reduce copy and pasteSebastian Huber2014-07-011-4/+4
|
* bsps/sparc: Make local functions static.Daniel Cederman2014-03-212-0/+8
| | | | | | | The PCI and RASTA versions of the uart, spacewire and 1553 drivers directly includes the c-file of the standard versions of the drivers, but uses a macro to change the name of the driver register function. When the standard version is used this function should be global, when it is included as part of the PCI and RASTA versions it should be local and static.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* LEON: moved register definitions into grlib header fileDaniel Hellstrom2012-05-161-6/+7
| | | | | | | | | | | | Some register layout definitions for LEON3 reside in ambapp.h which does not really has anything to do with device registers. The register structures has been incorrectly named LEON3_*, the cores are not only used on LEON3 but on LEON4 and perhaps on LEON5 when that day comes. Some structures has been renamed according to the GRLIB core name instead, which CPU that actually use it is not relevant. Drivers has been updated with the new names. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-112-2/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* LEON: updated drivers to use new AMBAPP LayerDaniel Hellstrom2012-04-173-9/+11
| | | | | | | The drivers are updated to use the new AMBA layer, however the backwards-compatibility interface (ambapp_old) is used. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-111-1/+1
| | | | | | * shared/1553/b1553brm.c, shared/can/grcan.c, shared/can/occan.c, shared/spw/grspw.c, shared/uart/apbuart.c: Use "__asm__" instead of "asm" for improved c99-compliance.
* Whitespace removal.Ralf Corsepius2009-11-293-142/+142
|
* 2007-09-07 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-09-071-0/+6
| | | | | | * shared/1553/b1553brm.c, shared/can/grcan.c, shared/can/grcan_rasta.c, shared/can/occan.c, shared/spw/grspw.c, shared/spw/grspw_pci.c, shared/uart/apbuart.c: Remove warnings.
* 2007-09-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-061-5/+5
| | | | * shared/uart/apbuart.c: Fix some warnings.
* 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-09-063-0/+969
New drivers: PCI, b1553BRM, SpaceWire(GRSPW), CAN (GRCAN,OC_CAN), Raw UART. * shared/1553/b1553brm.c, shared/1553/b1553brm_pci.c, shared/1553/b1553brm_rasta.c, shared/can/grcan.c, shared/can/grcan_rasta.c, shared/can/occan.c, shared/can/occan_pci.c, shared/spw/grspw.c, shared/spw/grspw_pci.c, shared/spw/grspw_rasta.c, shared/uart/apbuart.c, shared/uart/apbuart_pci.c, shared/uart/apbuart_rasta.c: New files missed in previous commit.