diff options
| author | Ingo Molnar <mingo@kernel.org> | 2015-02-04 01:58:29 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2015-02-04 01:58:29 -0500 |
| commit | 8f4bf4bcc4d6f70a47baec5d73bd411e572842e0 (patch) | |
| tree | 8ed86ebd19c32a629bfcfb43378bf32acd14c7d6 /arch/arm/mach-shmobile/timer.c | |
| parent | 1ed39bac21c3c2934b18de34df9478ad7b8edf1f (diff) | |
| parent | e36f014edff70fc02b3d3d79cead1d58f289332e (diff) | |
Merge tag 'v3.19-rc7' into perf/core, to merge fixes before applying new changes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/arm/mach-shmobile/timer.c')
| -rw-r--r-- | arch/arm/mach-shmobile/timer.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/timer.c b/arch/arm/mach-shmobile/timer.c index f1d027aa7a81..0edf2a6d2bbe 100644 --- a/arch/arm/mach-shmobile/timer.c +++ b/arch/arm/mach-shmobile/timer.c | |||
| @@ -70,6 +70,18 @@ void __init shmobile_init_delay(void) | |||
| 70 | if (!max_freq) | 70 | if (!max_freq) |
| 71 | return; | 71 | return; |
| 72 | 72 | ||
| 73 | #ifdef CONFIG_ARCH_SHMOBILE_LEGACY | ||
| 74 | /* Non-multiplatform r8a73a4 SoC cannot use arch timer due | ||
| 75 | * to GIC being initialized from C and arch timer via DT */ | ||
| 76 | if (of_machine_is_compatible("renesas,r8a73a4")) | ||
| 77 | has_arch_timer = false; | ||
| 78 | |||
| 79 | /* Non-multiplatform r8a7790 SoC cannot use arch timer due | ||
| 80 | * to GIC being initialized from C and arch timer via DT */ | ||
| 81 | if (of_machine_is_compatible("renesas,r8a7790")) | ||
| 82 | has_arch_timer = false; | ||
| 83 | #endif | ||
| 84 | |||
| 73 | if (!has_arch_timer || !IS_ENABLED(CONFIG_ARM_ARCH_TIMER)) { | 85 | if (!has_arch_timer || !IS_ENABLED(CONFIG_ARM_ARCH_TIMER)) { |
| 74 | if (is_a7_a8_a9) | 86 | if (is_a7_a8_a9) |
| 75 | shmobile_setup_delay_hz(max_freq, 1, 3); | 87 | shmobile_setup_delay_hz(max_freq, 1, 3); |
