diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-15 06:01:17 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-22 04:55:38 -0400 |
commit | 3126c7bc4106c572ef47e2c220df5a00e7973379 (patch) | |
tree | 7ef39fa9e53521889a2dd3c5aed5221379a47bec /arch/arm/mach-realview | |
parent | 2f7989efd4398d92b8adffce2e07dd043a0895fe (diff) |
ARM: AMBA: Add pclk definition for platforms using primecells
Add a dummy clk definition for the APB pclk signal on all platforms
using the AMBA bus infrastructure. This ensures that these platforms
continue to work when the core amba bus code controls the APB pclk.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview')
-rw-r--r-- | arch/arm/mach-realview/core.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-realview/core.c b/arch/arm/mach-realview/core.c index 595be19f8ad5..4aba15f7f812 100644 --- a/arch/arm/mach-realview/core.c +++ b/arch/arm/mach-realview/core.c | |||
@@ -300,8 +300,13 @@ static struct clk ref24_clk = { | |||
300 | .rate = 24000000, | 300 | .rate = 24000000, |
301 | }; | 301 | }; |
302 | 302 | ||
303 | static struct clk dummy_apb_pclk; | ||
304 | |||
303 | static struct clk_lookup lookups[] = { | 305 | static struct clk_lookup lookups[] = { |
304 | { /* UART0 */ | 306 | { /* Bus clock */ |
307 | .con_id = "apb_pclk", | ||
308 | .clk = &dummy_apb_pclk, | ||
309 | }, { /* UART0 */ | ||
305 | .dev_id = "dev:uart0", | 310 | .dev_id = "dev:uart0", |
306 | .clk = &ref24_clk, | 311 | .clk = &ref24_clk, |
307 | }, { /* UART1 */ | 312 | }, { /* UART1 */ |