diff options
Diffstat (limited to 'arch/i386/cpu')
-rw-r--r-- | arch/i386/cpu/sc520/sc520_timer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/cpu/sc520/sc520_timer.c b/arch/i386/cpu/sc520/sc520_timer.c index eca48e0..d5617e9 100644 --- a/arch/i386/cpu/sc520/sc520_timer.c +++ b/arch/i386/cpu/sc520/sc520_timer.c @@ -69,7 +69,11 @@ int timer_init(void) return 0; } +/* Allow boards to override udelay implementation */ void __udelay(unsigned long usec) + __attribute__((weak, alias("sc520_udelay"))); + +void sc520_udelay(unsigned long usec) { int m = 0; long u; |