diff options
author | Ulrich Hecht <ulrich.hecht+renesas@gmail.com> | 2014-12-10 09:45:27 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-12-21 03:09:25 -0500 |
commit | 09bd745b555c262d1e2c851777317f3adf3cf3d4 (patch) | |
tree | b67e45e5074c9da9b08f6c1f75fde9b285a7296a /arch/arm/mach-shmobile | |
parent | f73e1e28b5ed9bbb2358606b5abf76d3f94fe8cf (diff) |
ARM: shmobile: sh73a0: disable legacy clock initialization
Disables sh73a0_clock_init() if CCF is enabled.
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/setup-sh73a0.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c index 93ebe3430bfe..354cab111bf1 100644 --- a/arch/arm/mach-shmobile/setup-sh73a0.c +++ b/arch/arm/mach-shmobile/setup-sh73a0.c | |||
@@ -763,7 +763,9 @@ void __init __weak sh73a0_register_twd(void) { } | |||
763 | void __init sh73a0_earlytimer_init(void) | 763 | void __init sh73a0_earlytimer_init(void) |
764 | { | 764 | { |
765 | shmobile_init_delay(); | 765 | shmobile_init_delay(); |
766 | #ifndef CONFIG_COMMON_CLK | ||
766 | sh73a0_clock_init(); | 767 | sh73a0_clock_init(); |
768 | #endif | ||
767 | shmobile_earlytimer_init(); | 769 | shmobile_earlytimer_init(); |
768 | sh73a0_register_twd(); | 770 | sh73a0_register_twd(); |
769 | } | 771 | } |
@@ -782,8 +784,9 @@ void __init sh73a0_add_early_devices(void) | |||
782 | void __init sh73a0_add_standard_devices_dt(void) | 784 | void __init sh73a0_add_standard_devices_dt(void) |
783 | { | 785 | { |
784 | /* clocks are setup late during boot in the case of DT */ | 786 | /* clocks are setup late during boot in the case of DT */ |
787 | #ifndef CONFIG_COMMON_CLK | ||
785 | sh73a0_clock_init(); | 788 | sh73a0_clock_init(); |
786 | 789 | #endif | |
787 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 790 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
788 | } | 791 | } |
789 | 792 | ||