summaryrefslogtreecommitdiff
path: root/lib_m68k/time.c
Commit message (Collapse)AuthorAgeLines
* Move lib_$ARCH directories to arch/$ARCH/libPeter Tyser2010-04-13-227/+0
| | | | | | | | | Also move lib_$ARCH/config.mk to arch/$ARCH/config.mk This change is intended to clean up the top-level directory structure and more closely mimic Linux's directory organization. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* Generic udelay() with watchdog supportIngo van Lil2009-12-05-2/+2
| | | | | | | | | | | | | According to the PPC reference implementation the udelay() function is responsible for resetting the watchdog timer as frequently as needed. Most other architectures do not meet that requirement, so long-running operations might result in a watchdog reset. This patch adds a generic udelay() function which takes care of resetting the watchdog before calling an architecture-specific __udelay(). Signed-off-by: Ingo van Lil <inguin@gmx.de>
* Adds WATCHDOG_RESET() function call to lib_m68k dtimer_interrupt.Richard Retanubun2009-06-12-1/+12
| | | | | | | | Ported from lib_ppc/interrupts.c, this adds the ability for the coldfire system timer to auto-reset the watchdog when dtimer_interrupts is called. Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-18-18/+18
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fix merge problemsStefan Roese2008-08-06-0/+5
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* ColdFire: MCF52x2 updateTsiChungLiew2007-08-16-276/+0
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: MCF5329 Update and cleanupTsiChungLiew2007-08-16-2/+1
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Changed CFG_CLK to gd->bus_clk for CFG_TIMER_PRESCALER. Added ↵TsiChungLiew2007-08-08-0/+2
| | | | | | DECLARE_GLOBAL_DATA_PTR for time.c Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Update header file. Include dtimer_intr_setup(). Changed timer divider to ↵TsiChungLiew2007-07-10-56/+64
| | | | | | | | global define. Include immap.h and timer.h. Moved dtimer interrupt setup to dtimer_intr_setup() from cpu/mcf532x/interrupts.c. Changed (CFG_CLK /1000000) -1 << 8 to CFG_TIMER_PRESCALER Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Added M5329AFEE and M5329BFEE PlatformsTsiChung Liew2007-06-18-2/+165
| | | | | | | | | | | | | | | | Added board/freescale/m5329evb, cpu/mcf532x, drivers/net, drivers/serial, immap_5329.h, m5329.h, mcfrtc.h, include/configs/M5329EVB.h, lib_m68k/interrupts.c, and rtc/mcfrtc.c Modified CREDITS, MAKEFILE, Makefile, README, common/cmd_bdinfo.c, common/cmd_mii.c, include/asm-m68k/byteorder.h, include/asm-m68k/fec.h, include/asm-m68k/io.h, include/asm-m68k/mcftimer.h, include/asm-m68k/mcfuart.h, include/asm-m68k/ptrace.h, include/asm-m68k/u-boot.h, lib_m68k/Makefile, lib_m68k/board.c, lib_m68k/time.c, net/eth.c and rtc/Makefile Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* Preliminary support for the iDMR board (ColdFire).Bartlomiej Sieka2006-12-20-0/+8
|
* Add support for Freescale M5271 processorZachary P. Landau2006-01-26-2/+7
|
* * Patch by Ladislav Michl, 05 Apr 2005:wdenk2005-04-05-2/+2
| | | | | | | | | Add support for VoiceBlue board. * Patch by Ladislav Michl, 05 Apr 2005: Fix netboot_common() prototypes. * Cleanup.
* * Patch by Mathias Küster, 23 Nov 2004:wdenk2005-04-03-0/+22
| | | | | | | add udelay support for the mcf5282 cpu * Patch by Tolunay Orkun, 16 November 2004: fix incorrect onboard Xilinx CPLD base address
* Coldfire MCF5249 support addedstroese2004-12-16-0/+86
|
* * Patch by Josef Baumgartner, 25 May 2004:wdenk2004-06-09-0/+21
| | | | | | | Add missing functions get_ticks() and get_tbclk() in lib_m68k/time.c * Patch by Paul Ruhland, 24 May 2004: fix SDRAM initialization for LPD7A400 board.
* * Some code cleanupwdenk2004-02-12-41/+127
| | | | | | | | * Patch by Josef Baumgartner, 10 Feb 2004: Fixes for Coldfire port * Patch by Brad Kemp, 11 Feb 2004: Fix CFI flash driver problems
* * Patch by Bernhard Kuhn, 28 Nov 2003:wdenk2003-12-08-0/+87
add support for Coldfire CPU add support for Motorola M5272C3 and M5282EVB boards