summaryrefslogtreecommitdiff
path: root/lib_m68k/time.c
AgeCommit message (Collapse)Author
2009-12-05Generic udelay() with watchdog supportIngo van Lil
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>
2009-06-12Adds WATCHDOG_RESET() function call to lib_m68k dtimer_interrupt.Richard Retanubun
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>
2008-10-18rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-08-06Fix merge problemsStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-08-16ColdFire: MCF52x2 updateTsiChungLiew
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
2007-08-16ColdFire: MCF5329 Update and cleanupTsiChungLiew
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
2007-08-08Changed CFG_CLK to gd->bus_clk for CFG_TIMER_PRESCALER. Added ↵TsiChungLiew
DECLARE_GLOBAL_DATA_PTR for time.c Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
2007-07-10Update header file. Include dtimer_intr_setup(). Changed timer divider to ↵TsiChungLiew
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>
2007-06-18Added M5329AFEE and M5329BFEE PlatformsTsiChung Liew
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>
2006-12-20Preliminary support for the iDMR board (ColdFire).Bartlomiej Sieka
2006-01-26Add support for Freescale M5271 processorZachary P. Landau
2005-04-05* Patch by Ladislav Michl, 05 Apr 2005:wdenk
Add support for VoiceBlue board. * Patch by Ladislav Michl, 05 Apr 2005: Fix netboot_common() prototypes. * Cleanup.
2005-04-03* Patch by Mathias Küster, 23 Nov 2004:wdenk
add udelay support for the mcf5282 cpu * Patch by Tolunay Orkun, 16 November 2004: fix incorrect onboard Xilinx CPLD base address
2004-12-16Coldfire MCF5249 support addedstroese
2004-06-09* Patch by Josef Baumgartner, 25 May 2004:wdenk
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.
2004-02-12* Some code cleanupwdenk
* Patch by Josef Baumgartner, 10 Feb 2004: Fixes for Coldfire port * Patch by Brad Kemp, 11 Feb 2004: Fix CFI flash driver problems
2003-12-08* Patch by Bernhard Kuhn, 28 Nov 2003:wdenk
add support for Coldfire CPU add support for Motorola M5272C3 and M5282EVB boards