summaryrefslogtreecommitdiff
path: root/board/armltd
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2018-10-05 11:33:51 +0200
committerTom Rini <trini@konsulko.com>2018-10-10 13:35:09 -0400
commitaa33fe86954e342116648a702d34bb0456bdc4a7 (patch)
tree5a4969c51cd3a4aaf5234ebf180c02fb84da7fc6 /board/armltd
parentaad5b4a351c79a77f2e7c4188e37e3eddc80a4b2 (diff)
arm: remove prototype for udelay_masked
The interruption support had be removed for ARM architecture and the function udelay_masked() is no more used except in some timer.c files and have the same content than udelay() or __udelay(). This patch update each timer.c implementing this function and remove the associated prototype in u-boot-arm.h. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'board/armltd')
-rw-r--r--board/armltd/integrator/timer.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/board/armltd/integrator/timer.c b/board/armltd/integrator/timer.c
index 3063884014..53086c7a83 100644
--- a/board/armltd/integrator/timer.c
+++ b/board/armltd/integrator/timer.c
@@ -138,12 +138,6 @@ ulong get_timer_masked (void)
return timestamp;
}
-/* waits specified delay value and resets timestamp */
-void udelay_masked (unsigned long usec)
-{
- udelay(usec);
-}
-
/*
* This function is derived from PowerPC code (read timebase as long long).
* On ARM it just returns the timer value.