File tree 3 files changed +21
-7
lines changed 3 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 2
2
# Makefile for the linux kernel.
3
3
#
4
4
5
- obj-$(CONFIG_MACH_BCM2708) += clock.o bcm2708.o armctrl.o vcio.o power.o dma.o
5
+ obj-$(CONFIG_MACH_BCM2708) += clock.o bcm2708.o armctrl.o vcio.o power.o dma.o delay.o
6
6
obj-$(CONFIG_BCM2708_GPIO) += bcm2708_gpio.o
7
7
obj-$(CONFIG_BCM2708_VCMEM) += vc_mem.o
8
8
Original file line number Diff line number Diff line change @@ -883,12 +883,6 @@ void __const_udelay(unsigned long scaled_usecs)
883
883
} while ((long )(now - start ) <= usecs );
884
884
}
885
885
886
- void __delay (int loops )
887
- {
888
- while (-- loops > 0 )
889
- nop ();
890
- }
891
-
892
886
MACHINE_START (BCM2708 , "BCM2708" )
893
887
/* Maintainer: Broadcom Europe Ltd. */
894
888
.map_io = bcm2708_map_io ,.init_irq = bcm2708_init_irq ,.timer =
Original file line number Diff line number Diff line change
1
+ / *
2
+ * linux/arch/arm/lib/delay.S
3
+ *
4
+ * Copyright (C) 1995 , 1996 Russell King
5
+ *
6
+ * This program is free software ; you can redistribute it and/or modify
7
+ * it under the terms of the GNU General Public License version 2 as
8
+ * published by the Free Software Foundation.
9
+ * /
10
+ #include <linux/linkage.h>
11
+ #include <asm/assembler.h>
12
+ #include <asm/param.h>
13
+
14
+ .text
15
+ @ Delay routine
16
+ ENTRY(__delay)
17
+ subs r0 , r0 , # 1
18
+ bhi __delay
19
+ mov pc , lr
20
+ ENDPROC(__delay)
You can’t perform that action at this time.
0 commit comments