diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2014-11-10 04:32:12 -0500 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2014-11-10 04:38:41 -0500 |
commit | b75d47b4772c199225a351f3b8543e6e16b9c08b (patch) | |
tree | 9043f2438dbb6536aba1eaf3115c74adac1cc25d | |
parent | 7d7ef547d3fa47ac0df667a6e399eb1ebc60ec2d (diff) |
ARM: at91: remove useless init_time for DT-only SoCs
init_time is only needed when booting non-DT boards, we can thus safely
remove init_time functions.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r-- | arch/arm/mach-at91/at91sam9g45.c | 7 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9rl.c | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c index 042f7c623c8f..2ad0db4caa9b 100644 --- a/arch/arm/mach-at91/at91sam9g45.c +++ b/arch/arm/mach-at91/at91sam9g45.c | |||
@@ -11,7 +11,6 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <asm/system_misc.h> | 13 | #include <asm/system_misc.h> |
14 | #include <asm/irq.h> | ||
15 | #include <mach/cpu.h> | 14 | #include <mach/cpu.h> |
16 | #include <mach/hardware.h> | 15 | #include <mach/hardware.h> |
17 | 16 | ||
@@ -35,13 +34,7 @@ static void __init at91sam9g45_initialize(void) | |||
35 | at91_sysirq_mask_rtt(AT91SAM9G45_BASE_RTT); | 34 | at91_sysirq_mask_rtt(AT91SAM9G45_BASE_RTT); |
36 | } | 35 | } |
37 | 36 | ||
38 | static void __init at91sam9g45_init_time(void) | ||
39 | { | ||
40 | at91sam926x_pit_init(NR_IRQS_LEGACY + AT91_ID_SYS); | ||
41 | } | ||
42 | |||
43 | AT91_SOC_START(at91sam9g45) | 37 | AT91_SOC_START(at91sam9g45) |
44 | .map_io = at91sam9g45_map_io, | 38 | .map_io = at91sam9g45_map_io, |
45 | .init = at91sam9g45_initialize, | 39 | .init = at91sam9g45_initialize, |
46 | .init_time = at91sam9g45_init_time, | ||
47 | AT91_SOC_END | 40 | AT91_SOC_END |
diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c index 97efb2ef9fb4..bd7e56889b43 100644 --- a/arch/arm/mach-at91/at91sam9rl.c +++ b/arch/arm/mach-at91/at91sam9rl.c | |||
@@ -10,7 +10,6 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <asm/system_misc.h> | 12 | #include <asm/system_misc.h> |
13 | #include <asm/irq.h> | ||
14 | #include <mach/cpu.h> | 13 | #include <mach/cpu.h> |
15 | #include <mach/at91_dbgu.h> | 14 | #include <mach/at91_dbgu.h> |
16 | #include <mach/hardware.h> | 15 | #include <mach/hardware.h> |
@@ -47,13 +46,7 @@ static void __init at91sam9rl_initialize(void) | |||
47 | at91_sysirq_mask_rtt(AT91SAM9RL_BASE_RTT); | 46 | at91_sysirq_mask_rtt(AT91SAM9RL_BASE_RTT); |
48 | } | 47 | } |
49 | 48 | ||
50 | static void __init at91sam9rl_init_time(void) | ||
51 | { | ||
52 | at91sam926x_pit_init(NR_IRQS_LEGACY + AT91_ID_SYS); | ||
53 | } | ||
54 | |||
55 | AT91_SOC_START(at91sam9rl) | 49 | AT91_SOC_START(at91sam9rl) |
56 | .map_io = at91sam9rl_map_io, | 50 | .map_io = at91sam9rl_map_io, |
57 | .init = at91sam9rl_initialize, | 51 | .init = at91sam9rl_initialize, |
58 | .init_time = at91sam9rl_init_time, | ||
59 | AT91_SOC_END | 52 | AT91_SOC_END |