aboutsummaryrefslogtreecommitdiffstats
path: root/udelay.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-12-12 09:08:08 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-12-12 09:08:08 +0000
commitb9a734ff92653c9648ce4283ab879fd8b6ce407f (patch)
tree67c56c5ba08b04b1119c2975c92aa767f17d508b /udelay.h
parent1d2a74247f32c502d566cd166f4e50f4faed20d6 (diff)
downloadlcd4linux-b9a734ff92653c9648ce4283ab879fd8b6ce407f.tar.gz
[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
Diffstat (limited to 'udelay.h')
-rw-r--r--udelay.h17
1 files changed, 5 insertions, 12 deletions
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)