@@ -10,6 +10,7 @@
*/
#include <common.h>
+#include <time.h>
#include <asm/arch/pxa-regs.h>
#include <asm/io.h>
#include <asm/system.h>
@@ -9,6 +9,7 @@
#include <clk.h>
#include <dm.h>
#include <status_led.h>
+#include <time.h>
#include <timer.h>
#include <watchdog.h>
@@ -286,7 +286,6 @@ int cleanup_before_linux_select(int flags);
/* arch/$(ARCH)/lib/ticks.S */
uint64_t get_ticks(void);
-void wait_ticks (unsigned long);
/* lib/uuid.c */
#include <uuid.h>
@@ -85,4 +85,13 @@ ulong usec2ticks(unsigned long usec);
*/
ulong ticks2usec(unsigned long ticks);
+/**
+ * wait_ticks() - waits a given number of ticks
+ *
+ * This is an internal funciton. Normally you should use udelay() or mdelay()
+ *
+ * @ticks: Number of ticks to wait
+ */
+void wait_ticks(unsigned long ticks);
+
#endif /* _TIME_H */
This function belongs in time.h so move it over and add a comment. Signed-off-by: Simon Glass <sjg@chromium.org> --- arch/arm/cpu/pxa/pxa2xx.c | 1 + drivers/timer/mpc83xx_timer.c | 1 + include/common.h | 1 - include/time.h | 9 +++++++++ 4 files changed, 11 insertions(+), 1 deletion(-)