diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2011-12-16 10:37:49 +0100 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-17 01:10:16 +0200 |
commit | cd64fbfb6847b91fb51a2387ba93a255a5afa18d (patch) | |
tree | aec5a5054846300cf490db3d229a0ec254d5f814 /c/src/lib/libbsp/sparc/Makefile.am | |
parent | LEON2: implemented AMBA Bus Driver for Driver Manager (diff) | |
download | rtems-cd64fbfb6847b91fb51a2387ba93a255a5afa18d.tar.bz2 |
LEON: GPTIMER driver, Timer Library and System Clock for LEON3
With this patch the LEON family can access the GRLIB GPTIMER using
the Timer library (TLIB).
A System Clock driver instead of BSP/clock/ck_init.c is provided
using the TLIB. The classic clock driver is split in two parts,
clock driver and timer driver. The BSPs need only to fullfill the
timer interface instead of the clock interface. Currently only
LEON3 uses it. The LEON2 Timer is not ported to TLIB.
The GPTIMER driver is implemented using the Driver Manager, so the
System Clock Driver is at this point only suitable for LEON3 when
the driver manager is initialized during BSP startup. When the DrvMgr
is not initialized during startup the standard BSP/clock dirver is
used.
LEON2 sometimes also needs to access GPTIMER when a off-chip GRLIB AMBA
systems is connected, for example AMBA-over-PCI.
Diffstat (limited to 'c/src/lib/libbsp/sparc/Makefile.am')
-rw-r--r-- | c/src/lib/libbsp/sparc/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/Makefile.am b/c/src/lib/libbsp/sparc/Makefile.am index 59a212c624..67b62ca585 100644 --- a/c/src/lib/libbsp/sparc/Makefile.am +++ b/c/src/lib/libbsp/sparc/Makefile.am @@ -28,6 +28,12 @@ EXTRA_DIST += shared/amba/ambapp_names.c EXTRA_DIST += shared/amba/ambapp_old.c EXTRA_DIST += shared/amba/ambapp_show.c +# Clock Driver and Timer Library +EXTRA_DIST += shared/include/tlib.h +EXTRA_DIST += shared/timer/gptimer.c +EXTRA_DIST += shared/timer/tlib.c +EXTRA_DIST += shared/timer/tlib_ckinit.c + # PCI bus EXTRA_DIST += shared/include/pci.h EXTRA_DIST += shared/pci/pcifinddevice.c |