summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove CVS-Ids.Ralf Corsépius2012-07-191-2/+0
|
* pci.h cleanup - Consolidate common defines to cpukit pci.hJoel Sherrill2012-05-161-1128/+1
| | | | | | | | | | | | | + libbsp/sparc/shared/include/pci.h was largely a copy of an older version of the cpukit pci.h. Removed much of the contents and included <rtems/pci.h>. + sparc/*/pci*.c - Move to <rtems/pci.h> required updating to use uint32_t for dword accesses. + Rename PCI_MULTI_FUNCTION to PCI_HEADER_TYPE_MULTI_FUNCTION + Define PCI_HEADER_TYPE_MULTI_FUNCTION in cpukit pci.h and remove PCI_MULTI_FUNCTION definitions in C files. + Move PCI_INVALID_VENDORDEVICEID definitions from various C files to cpukit pci.h
* LEON: moved register definitions into grlib header fileDaniel Hellstrom2012-05-162-43/+91
| | | | | | | | | | | | 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-113-4/+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-1715-160/+153
| | | | | | | 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>
* LEON: updated AMBA PnP APIDaniel Hellstrom2012-04-172-192/+563
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old layer had some limitations/problems for multiple AHB buses since the data structure containing all AMBA devices were allocated before scanning. The new layer create devices as they are found and memory is allocated using malloc() or bsp_early_malloc() during booting. The old 8 functions for finding a specific AHB-Slave or APB-Slave device has been replaced with one function, ambapp_for_each(), which iterates over all devices matching the specified search options and calls a user provided function. The new way lowers the footprint and makes searching more flexible. The frequency information is now supported, if the frequency of one device is reported by the user. More AHB-to-AHB bridges are supported. The API has been split into several parts in order to lower the footprint. The API also introduces the AMBAPP CORE concept, where one ambapp_core can be created from one AHB Master, AHB Slave and one APB Slave, at least one device is required for creating a core. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON3: added IRQAMP supportDaniel Hellstrom2012-04-061-3/+4
|
* SPARC BSPs: implemented shared-irq using libbsp/shared layerDaniel Hellstrom2012-04-061-0/+2
| | | | | | | | | | | | | | | The implementation use IRQ number instead of vector number since some IRQs does not have a unique vector, for example the extended interrupts all enter the same trap vector entry. Added support for the LEON3 extended interrupt controller when using the shared IRQ layer. ERC32 patches untested. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com> Regenerate
* 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-12-111-2/+2
| | | | | PR 1483/cpukit * shared/include/pci.h: Rename pci_config into rtems_pci_config_t.
* Whitespace removal.Ralf Corsepius2009-11-2916-82/+82
|
* 2009-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-291-3/+3
| | | | | * shared/include/pci.h: Add prototypes for BusCountPCI(void), init_pci(void).
* 2009-09-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-281-6/+6
| | | | * shared/include/pci.h: Revert extern inline patch.
* 2009-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-251-6/+6
| | | | * shared/include/pci.h: Change extern inline to static inline.
* 2007-12-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-061-9/+0
| | | | * shared/include/grcan_spwrtc.h: Removed.
* 2007-12-05 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-12-051-15/+13
| | | | * shared/include/ambapp.h: Sync head and 4.8 branch.
* 2007-11-30 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-11-301-1/+5
| | | | | | * shared/include/grspw.h, shared/spw/grspw.c: GRSPW SpaceWire Driver. Fixes typecast to volatile integer instead of to integer. Added scanning for GRSPW2 Core, The GRSPW2 core is run in legacy mode.
* 2007-11-30 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-11-301-1/+5
| | | | | | | | | * shared/can/grcan.c, shared/can/grcan_rasta.c, shared/include/ambapp.h: GRCAN CAN driver. Fixes Interrupt enabling/disabling in the driver, interrupt may not be restored correctly. Implements the baud rate calculation routine. Removed unnecessary printk. Fixed scanning to support GRCAN and GRHCAN hardware. Added GRCAN device number to ambapp.h.
* 2007-10-11 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-10-112-0/+79
| | | | | | * Makefile.am, shared/can/occan.c, shared/include/ambapp.h: Add initial i2c and update OC-CAN support. * shared/i2c/i2cmst.c, shared/include/i2cmst.h: New files.
* 2007-09-12 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-09-121-2/+0
| | | | | * shared/can/grcan.c, shared/include/debug_defs.h, shared/spw/grspw.c: Remove use of DEBUG_printf.
* 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-09-0616-0/+2347
| | | | | | | | | | | | | * Makefile.am: Add the following new drivers: PCI, b1553BRM, SpaceWire(GRSPW), CAN (GRCAN,OC_CAN), Raw UART. * shared/include/apbuart.h, shared/include/apbuart_pci.h, shared/include/apbuart_rasta.h, shared/include/b1553brm.h, shared/include/b1553brm_pci.h, shared/include/b1553brm_rasta.h, shared/include/debug_defs.h, shared/include/grcan.h, shared/include/grcan_rasta.h, shared/include/grcan_spwrtc.h, shared/include/grspw.h, shared/include/grspw_pci.h, shared/include/grspw_rasta.h, shared/include/occan.h, shared/include/occan_pci.h, shared/include/pci.h: New files.
* 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2007-09-061-0/+279
* shared/amba/ambapp.c, shared/include/ambapp.h: New files.