[U-Boot] [PATCH] Generic udelay() with watchdog support
Wolfgang Denk
wd at denx.de
Sat Dec 5 01:09:11 CET 2009
Dear Ingo van Lil,
In message <20091124130921.GA465 at zaphod.peppercon.de> you wrote:
> 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 at gmx.de>
> ---
> board/armltd/integrator/timer.c | 2 +-
> board/freescale/mpc8313erdb/sdram.c | 2 +-
> cpu/arm1136/mx31/timer.c | 2 +-
> cpu/arm1136/omap24xx/timer.c | 2 +-
> cpu/arm1176/s3c64xx/timer.c | 2 +-
> cpu/arm720t/interrupts.c | 4 +-
> cpu/arm920t/at91rm9200/timer.c | 2 +-
> cpu/arm920t/imx/timer.c | 2 +-
> cpu/arm920t/ks8695/timer.c | 2 +-
> cpu/arm920t/s3c24x0/timer.c | 2 +-
> cpu/arm925t/timer.c | 2 +-
> cpu/arm926ejs/at91/timer.c | 2 +-
> cpu/arm926ejs/davinci/timer.c | 2 +-
> cpu/arm926ejs/kirkwood/timer.c | 2 +-
> cpu/arm926ejs/mx27/timer.c | 2 +-
> cpu/arm926ejs/nomadik/timer.c | 2 +-
> cpu/arm926ejs/omap/timer.c | 2 +-
> cpu/arm926ejs/versatile/timer.c | 2 +-
> cpu/arm_cortexa8/omap3/timer.c | 2 +-
> cpu/arm_cortexa8/s5pc1xx/timer.c | 2 +-
> cpu/at32ap/interrupts.c | 2 +-
> cpu/blackfin/interrupts.c | 2 +-
> cpu/i386/sc520/sc520_timer.c | 2 +-
> cpu/ixp/start.S | 4 +-
> cpu/ixp/timer.c | 2 +-
> cpu/lh7a40x/timer.c | 2 +-
> cpu/mcf547x_8x/slicetimer.c | 2 +-
> cpu/pxa/timer.c | 2 +-
> cpu/s3c44b0/timer.c | 2 +-
> cpu/sa1100/timer.c | 2 +-
> examples/api/Makefile | 1 +
> examples/api/libgenwrap.c | 2 +-
> include/asm-blackfin/delay.h | 2 +-
> include/common.h | 5 +++-
> include/exports.h | 2 +-
> lib_generic/Makefile | 1 +
> lib_generic/time.c | 43 +++++++++++++++++++++++++++++++++++
> lib_i386/pcat_timer.c | 2 +-
> lib_m68k/time.c | 4 +-
> lib_microblaze/time.c | 4 +-
> lib_mips/time.c | 2 +-
> lib_nios/time.c | 3 +-
> lib_nios2/time.c | 3 +-
> lib_ppc/time.c | 16 ++----------
> lib_sh/time.c | 2 +-
> lib_sh/time_sh2.c | 2 +-
> lib_sparc/time.c | 2 +-
> 47 files changed, 98 insertions(+), 62 deletions(-)
> create mode 100644 lib_generic/time.c
Applied to "next", thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You get a wonderful view from the point of no return.
- Terry Pratchett, _Making_Money_
More information about the U-Boot
mailing list