From b9a734ff92653c9648ce4283ab879fd8b6ce407f Mon Sep 17 00:00:00 2001 From: reinelt Date: Mon, 12 Dec 2005 09:08:08 +0000 Subject: [lcd4linux @ 2005-12-12 09:08:08 by reinelt] finally removed old udelay code path; read timing values from config git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@600 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- udelay.h | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'udelay.h') diff --git a/udelay.h b/udelay.h index 3271c7f..aa26950 100644 --- a/udelay.h +++ b/udelay.h @@ -1,4 +1,4 @@ -/* $Id: udelay.h,v 1.10 2005/05/08 04:32:45 reinelt Exp $ +/* $Id: udelay.h,v 1.11 2005/12/12 09:08:08 reinelt Exp $ * * short delays * @@ -23,6 +23,9 @@ * * * $Log: udelay.h,v $ + * Revision 1.11 2005/12/12 09:08:08 reinelt + * finally removed old udelay code path; read timing values from config + * * Revision 1.10 2005/05/08 04:32:45 reinelt * CodingStyle added and applied * @@ -79,18 +82,8 @@ static inline void rep_nop(void) __asm__ __volatile__("rep; nop"); } - -#ifdef USE_OLD_UDELAY - -extern unsigned long loops_per_usec; -void udelay_calibrate(void); - -#else - void udelay_init(void); - -#endif - +unsigned long timing(const char *driver, const char *section, const char *name, const int defval, const char *unit); void ndelay(const unsigned long nsec); #define udelay(usec) ndelay(usec*1000) -- cgit v1.2.3