summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon2 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert: Remove CVS IdsJoel Sherrill2012-05-071-0/+2
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-041-2/+0
|
* LEON2 - Remove bad $Id$ and clean up file headerJoel Sherrill2012-05-021-4/+6
|
* LEON: updated drivers to use new AMBAPP LayerDaniel Hellstrom2012-04-172-34/+44
| | | | | | | 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-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* SMC91111: updated to use shared IRQ serviceDaniel Hellstrom2012-04-061-6/+4
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* SPARC BSPs: implemented shared-irq using libbsp/shared layerDaniel Hellstrom2012-04-066-1/+162
| | | | | | | | | | | | | | | 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
* SPARC: bsp_early_malloc() routine for startup memory allocationDaniel Hellstrom2012-03-292-3/+9
| | | | | | | | | | | | If bsp_early_malloc() is called early during boot room will be allocated after BSS END. If the function is called after boot is will call malloc() instead. The returned memory is not freeable and always 8-byte aligned. If the bsp_early_malloc() isn't called the function is not dragged in and the workspace will be unmodified in size. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* GRETH: added support for non-snooping GRETH 10/100 systemsDaniel Hellstrom2012-03-272-0/+12
| | | | | | | | | | | | | | | | | | When data cache snooping is not present the cache needs flushing, the SPARC LEON CPUs does not have to ability to flush individual cache rows and flushing all cache is expensive. Instead the LDA instruction is used to force cache miss on individual loads during the IP-align copy operation required anyway. GRETH GBIT non-snooping systems are still unsupported, since it use zero-copy (can deal with unaligned DMA). Let the bsp.h select if the GRETH driver is supported. Currently only the LEON2/LEON3 platforms BSPs builds the driver. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* SMC91111: ERC32 was never supported by driverDaniel Hellstrom2012-03-211-0/+2
| | | | | | | | | Moved the intelligence whether the driver is supported or not completely to the BSP, now that bsp.h is included (even though it is a driver... hmm). The ERC32 was never supported, so HAS_SMC91111 is not added to erc32/include/bsp.h. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* SPARC: added libcpu lowlevel access and byteorder routines/definitionsDaniel Hellstrom2012-03-211-0/+1
| | | | | | | | | | | | The low level routines can be used in different occasions, it will be required when accessing PCI. Note the difference between byteorder.h (inlined functions) and access.S where the functions will be declared in the library archive librtemscpu.a. Function names starting with _ are in library and can be referenced by function pointers. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* Remove all .cvsignore files.Joel Sherrill2012-02-012-12/+0
|
* 2011-07-21 Jorge Lopez <jorge.lopez.trescastro@esa.int>Joel Sherrill2011-07-212-0/+7
| | | | | PR 1766/bsps * clock/ckinit.c: Add missing read of Timer_Counter_1.
* 2011-06-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-06-192-1/+6
| | | | * Makefile.am: Fix broken path to clockdrv_shell.h.
* 2011-06-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-06-118-413/+7
| | | | | | | * Makefile.am, configure.ac: runtest for this BSP obsoleted by rtems-testing/sim-scripts support. Please use those scripts. * tools/.cvsignore, tools/ChangeLog, tools/Makefile.am, tools/configure.ac, tools/runtest.in: Removed.
* 2011-05-25 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-05-251-1/+2
| | | | | | | | | | PR 1792/bsps * src/lib/libbsp/i386/pc386/Makefile.am, src/lib/libbsp/sparc/erc32/Makefile.am, src/lib/libbsp/sparc/leon2/Makefile.am, src/lib/libbsp/sparc/leon3/Makefile.am: Added a generic smp wait method to sparc and i386 bsps. * src/lib/libbsp/shared/smp/bspsmp_wait_for.c: New file.
* 2011-05-23 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2011-05-232-2/+27
| | | | | | | | PR 1795/bsps * erc32/Makefile.am, leon2/Makefile.am, leon3/Makefile.am: Add rtems_bsp_delay to sparc bsps. * erc32/startup/bspdelay.c, leon2/startup/bspdelay.c, leon3/startup/bspdelay.c: New files.
* 2011-04-25 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2011-04-252-8/+6
| | | | | | PR 1783/bsps * include/bsp.h: Remove dead prototypes of Clock_delay() and delay(). Neither had bodies.
* 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>Joel Sherrill2011-03-163-0/+20
| | | | | | | | | | | | PR 1729/cpukit * Makefile.am, configure.ac: Add next step in SMP support. This adds an allocated array of the Per_CPU structures to support multiple cpus vs a single instance of the structure which is still used if SMP support is disabled. Configuration support is also added to explicitly enable or disable SMP. But SMP can only be enabled for the CPUs which will support it initially -- SPARC and i386. With the stub BSP support, a BSP can be run as a single core SMP system from an RTEMS data structure standpoint.
* 2011-03-04 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-03-042-5/+15
| | | | | | | PR 1748/bsps * clock/ckinit.c: When the clock tick generates an interrupt WHILE we have interrupts disabled doing a get TOD or uptime, the get nanoseconds handler was returning a bogusly large number.
* 2011-02-25 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-252-2/+4
| | | | * configure.ac: Remove RTEMS_CANONICAL_TARGET_CPU.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-114-3/+8
| | | | | * cchip/cchip.c, include/tm27.h, startup/spurious.c: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-092-1/+7
| | | | | * timer/timer.c: Include <rtems/btimer.h>. Fix benchmark_timer_read() definition.
* 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-024-4/+12
| | | | * configure.ac: Require autoconf-2.68, automake-1.11.1.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-282-1/+5
| | | | * bsp_specs: Revert accidental commit.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-281-1/+1
| | | | | * leon2/pci/pci.c, leon3/pci/pci.c: Fix typo where license said found in found in.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-282-1/+5
| | | | * bsp_specs: Fix typo where license said found in found in.
* 2010-08-26 Chris Johns <chrisj@rtems.org>Chris Johns2010-08-262-1/+6
| | | | * Makefile.am: Add bspinit.c from the shared BSP files.
* 2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-292-4/+4
| | | | * configure.ac: Remove AC_CHECK_SIZEOF([void *]).
* 2010-06-29 Joel Sherrill <Joel.Sherrill@OARcorp.com>Jennifer Averett2010-06-292-0/+8
| | | | * configure.ac: Added AC_CHECK_SIZEOF macro.
* 2010-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-05-114-195/+18
| | | | | | | * startup/linkcmds: Include basic linker command file and define only board specific values. Define RAM and PROM limits only if not defined by command line arguments. * Makefile.am, preinstall.am: Reflect changes above.
* 2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-12-112-5/+10
| | | | | PR 1483/cpukit * pci/pci.c: Rename pci_config into rtems_pci_config_t.
* 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-12-102-1/+6
| | | | | * console/console.c: Reflect changes to rtems_termios_callbacks->write.
* 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-12-102-2/+6
| | | | * console/console.c: Let bsp_in_char return int.
* Whitespace removal.Ralf Corsepius2009-11-2916-235/+235
|
* Whitespace removal.Ralf Corsepius2009-11-282-3/+3
|
* 2009-11-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-11-233-3/+55
| | | | | | * Makefile.am: sparc/shared/bspstart.c was really leon2 specific. So move it here. * startup/bspstart.c: New file.
* 2009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-212-2/+4
| | | | * make/custom/leon2.cfg: Remove RTEMS_BSP_FAMILY.
* 2009-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-202-1/+5
| | | | * configure.ac: Don't add -ansi -fasm to CFLAGS.
* 2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-152-0/+23
| | | | * make/custom/leon2.cfg: New (relocated from /make/custom).
* 2009-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-012-18/+24
| | | | | | PR 1445/BSPs * pci/pci.c: Rename pci_[read|write]_config* functions into BSP_pci_[read|write]_config* and make them static.
* 2009-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-292-2/+6
| | | | * pci/pci.c: Add prototypes for BusCountPCI(void), init_pci(void).
* 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-152-2/+5
| | | | * configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
* 2009-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-282-1/+5
| | | | * configure.ac: Fix typo.
* 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-195-23/+53
| | | | | | | * Makefile.am, include/bsp.h, startup/setvec.c: Split idle method into its own file. Properly note to confdefs.h that this BSP has its own idle thread. * startup/bspidle.c: New file.
* 2009-07-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-205-2/+16
| | | | | * cchip/cchip.c, include/cchip.h, include/rasta.h, pci/pci.c: Add CVS Ids.
* 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-162-1/+8
| | | | | | * configure.ac: Rename BSP_BOOTCARD_OPTIONS to RTEMS_BSP_BOOTCARD_OPTIONS. Add RTEMS_BSP_CLEANUP_OPTIONS so all BSPs have the same options.
* 2009-03-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-03-252-0/+6
| | | | | * startup/linkcmds: Start of RTEMS Work Area must be on 16 byte boundary on the SPARC.
* 2009-03-09 Antoine Lacroix <antoine.lacroix at sodern.fr>Joel Sherrill2009-03-092-1/+6
| | | | | PR 1391/bsps * startup/spurious.c: Format was %d but had leading 0x.
* 2009-03-02 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2009-03-022-10/+29
| | | | | | PR 1390/bsps * startup/linkcmds: Fix sections so C++ global constructors and destructors work with late model (>= 4.3) gcc versions.