From aa33fe86954e342116648a702d34bb0456bdc4a7 Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Fri, 5 Oct 2018 11:33:51 +0200 Subject: 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 --- arch/arm/cpu/arm926ejs/spear/timer.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'arch/arm/cpu/arm926ejs/spear') diff --git a/arch/arm/cpu/arm926ejs/spear/timer.c b/arch/arm/cpu/arm926ejs/spear/timer.c index e9ba87a460..a6637c0efe 100644 --- a/arch/arm/cpu/arm926ejs/spear/timer.c +++ b/arch/arm/cpu/arm926ejs/spear/timer.c @@ -98,11 +98,6 @@ ulong get_timer_masked(void) return timestamp; } -void udelay_masked(unsigned long usec) -{ - return udelay(usec); -} - /* * This function is derived from PowerPC code (read timebase as long long). * On ARM it just returns the timer value. -- cgit