diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2018-10-05 11:33:51 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-10-10 13:35:09 -0400 |
commit | aa33fe86954e342116648a702d34bb0456bdc4a7 (patch) | |
tree | 5a4969c51cd3a4aaf5234ebf180c02fb84da7fc6 /arch/arm/mach-at91/arm920t | |
parent | aad5b4a351c79a77f2e7c4188e37e3eddc80a4b2 (diff) | |
download | u-boot-aa33fe86954e342116648a702d34bb0456bdc4a7.tar.gz u-boot-aa33fe86954e342116648a702d34bb0456bdc4a7.tar.xz u-boot-aa33fe86954e342116648a702d34bb0456bdc4a7.zip |
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 'arch/arm/mach-at91/arm920t')
-rw-r--r-- | arch/arm/mach-at91/arm920t/timer.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/arm920t/timer.c b/arch/arm/mach-at91/arm920t/timer.c index bbe90ae7ba..6a98d7c4de 100644 --- a/arch/arm/mach-at91/arm920t/timer.c +++ b/arch/arm/mach-at91/arm920t/timer.c @@ -58,11 +58,6 @@ ulong get_timer(ulong base) return get_timer_masked() - base; } -void __udelay(unsigned long usec) -{ - udelay_masked(usec); -} - ulong get_timer_raw(void) { at91_tc_t *tc = (at91_tc_t *) ATMEL_BASE_TC; @@ -87,7 +82,7 @@ ulong get_timer_masked(void) return get_timer_raw()/TIMER_LOAD_VAL; } -void udelay_masked(unsigned long usec) +void __udelay(unsigned long usec) { u32 tmo; u32 endtime; |