File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ config ARCH_R8A73A4
23
23
select ARCH_WANT_OPTIONAL_GPIOLIB
24
24
select ARM_GIC
25
25
select CPU_V7
26
- select HAVE_ARM_ARCH_TIMER
27
26
select SH_CLK_CPG
28
27
select RENESAS_IRQC
29
28
select ARCH_HAS_CPUFREQ
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ static const char *ape6evm_boards_compat_dt[] __initdata = {
101
101
};
102
102
103
103
DT_MACHINE_START (APE6EVM_DT , "ape6evm" )
104
+ .init_early = r8a73a4_init_delay ,
104
105
.init_time = shmobile_timer_init ,
105
106
.init_machine = ape6evm_add_standard_devices ,
106
107
.dt_compat = ape6evm_boards_compat_dt ,
Original file line number Diff line number Diff line change 4
4
void r8a73a4_add_standard_devices (void );
5
5
void r8a73a4_clock_init (void );
6
6
void r8a73a4_pinmux_init (void );
7
+ void r8a73a4_init_delay (void );
7
8
8
9
#endif /* __ASM_R8A73A4_H__ */
Original file line number Diff line number Diff line change @@ -202,6 +202,13 @@ void __init r8a73a4_add_standard_devices(void)
202
202
r8a7790_register_cmt (10 );
203
203
}
204
204
205
+ void __init r8a73a4_init_delay (void )
206
+ {
207
+ #ifndef CONFIG_ARM_ARCH_TIMER
208
+ shmobile_setup_delay (1500 , 2 , 4 ); /* Cortex-A15 @ 1500MHz */
209
+ #endif
210
+ }
211
+
205
212
#ifdef CONFIG_USE_OF
206
213
void __init r8a73a4_add_standard_devices_dt (void )
207
214
{
@@ -215,6 +222,7 @@ static const char *r8a73a4_boards_compat_dt[] __initdata = {
215
222
};
216
223
217
224
DT_MACHINE_START (R8A73A4_DT , "Generic R8A73A4 (Flattened Device Tree)" )
225
+ .init_early = r8a73a4_init_delay ,
218
226
.init_machine = r8a73a4_add_standard_devices_dt ,
219
227
.init_time = shmobile_timer_init ,
220
228
.dt_compat = r8a73a4_boards_compat_dt ,
You can’t perform that action at this time.
0 commit comments