fix timer support, some reworks

This commit is contained in:
Thomas Doerfler
2010-03-25 20:26:51 +00:00
parent 2f5435a42f
commit 1f4db180af
9 changed files with 96 additions and 51 deletions

View File

@@ -1,3 +1,15 @@
2010-03-25 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* Makefile.am, mpc55xx/include/siu.h, mpc55xx/siu/siu.c:
add generic SIU support
add timer support, on timebase
* mpc55xx/edma/edma.c: fix init call to be prototype
* mpc55xx/esci/esci.c: adapted to new prototype for *_write function
* mpc55xx/include/reg-defs.h, mpc55xx/include/regs.h,
mpc55xx/misc/fmpll.S:
add support for mpc551x registers
* mpc6xx/timer/timer.c: fix typo
2009-12-17 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* mpc5xx/irq/irq.c: removed warning

View File

@@ -416,6 +416,7 @@ include_mpc55xx_HEADERS = mpc55xx/include/regs.h \
mpc55xx/include/emios.h \
mpc55xx/include/mpc55xx.h \
mpc55xx/include/esci.h \
mpc55xx/include/siu.h \
mpc55xx/include/watchdog.h
include_bsp_HEADERS += mpc55xx/include/irq.h
@@ -425,6 +426,12 @@ noinst_PROGRAMS += mpc55xx/irq.rel
mpc55xx_irq_rel_SOURCES = mpc55xx/irq/irq.c
mpc55xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
# mpc6xx/timer
noinst_PROGRAMS += mpc55xx/timer.rel
mpc55xx_timer_rel_SOURCES = mpc6xx/timer/timer.c
mpc55xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
mpc55xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
# FEC
noinst_PROGRAMS += mpc55xx/fec.rel
mpc55xx_fec_rel_SOURCES = mpc55xx/fec/fec.c
@@ -440,6 +447,11 @@ noinst_PROGRAMS += mpc55xx/emios.rel
mpc55xx_emios_rel_SOURCES = mpc55xx/emios/emios.c
mpc55xx_emios_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
# SIU
noinst_PROGRAMS += mpc55xx/siu.rel
mpc55xx_siu_rel_SOURCES = mpc55xx/siu/siu.c
mpc55xx_siu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
# eSCI
noinst_PROGRAMS += mpc55xx/esci.rel
mpc55xx_esci_rel_SOURCES = mpc55xx/esci/esci.c

View File

@@ -1,6 +1,6 @@
/* timer.c
*
* This file implements a benchmark timer using the General Purpose Timer.
* This file implements a benchmark timer using the PPC Timebase
*
* Notes: NONE
*

View File

@@ -274,6 +274,10 @@ $(PROJECT_INCLUDE)/mpc55xx/esci.h: mpc55xx/include/esci.h $(PROJECT_INCLUDE)/mpc
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc55xx/esci.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc55xx/esci.h
$(PROJECT_INCLUDE)/mpc55xx/siu.h: mpc55xx/include/siu.h $(PROJECT_INCLUDE)/mpc55xx/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc55xx/siu.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc55xx/siu.h
$(PROJECT_INCLUDE)/mpc55xx/watchdog.h: mpc55xx/include/watchdog.h $(PROJECT_INCLUDE)/mpc55xx/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc55xx/watchdog.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc55xx/watchdog.h