spear13xx.c (2b9c613c4ee1756664fcbf6fc4926fee3e7139c3) | spear13xx.c (d9909ebe650f028459b9be5a2321fee520b446b0) |
---|---|
1/* 2 * arch/arm/mach-spear13xx/spear13xx.c 3 * 4 * SPEAr13XX machines common source file 5 * 6 * Copyright (C) 2012 ST Microelectronics 7 * Viresh Kumar <viresh.linux@gmail.com> 8 * --- 132 unchanged lines hidden (view full) --- 141void __init spear13xx_map_io(void) 142{ 143 iotable_init(spear13xx_io_desc, ARRAY_SIZE(spear13xx_io_desc)); 144} 145 146static void __init spear13xx_clk_init(void) 147{ 148 if (of_machine_is_compatible("st,spear1310")) | 1/* 2 * arch/arm/mach-spear13xx/spear13xx.c 3 * 4 * SPEAr13XX machines common source file 5 * 6 * Copyright (C) 2012 ST Microelectronics 7 * Viresh Kumar <viresh.linux@gmail.com> 8 * --- 132 unchanged lines hidden (view full) --- 141void __init spear13xx_map_io(void) 142{ 143 iotable_init(spear13xx_io_desc, ARRAY_SIZE(spear13xx_io_desc)); 144} 145 146static void __init spear13xx_clk_init(void) 147{ 148 if (of_machine_is_compatible("st,spear1310")) |
149 spear1310_clk_init(); | 149 spear1310_clk_init(VA_MISC_BASE, VA_SPEAR1310_RAS_BASE); |
150 else if (of_machine_is_compatible("st,spear1340")) | 150 else if (of_machine_is_compatible("st,spear1340")) |
151 spear1340_clk_init(); | 151 spear1340_clk_init(VA_MISC_BASE); |
152 else 153 pr_err("%s: Unknown machine\n", __func__); 154} 155 156void __init spear13xx_timer_init(void) 157{ 158 char pclk_name[] = "osc_24m_clk"; 159 struct clk *gpt_clk, *pclk; --- 25 unchanged lines hidden --- | 152 else 153 pr_err("%s: Unknown machine\n", __func__); 154} 155 156void __init spear13xx_timer_init(void) 157{ 158 char pclk_name[] = "osc_24m_clk"; 159 struct clk *gpt_clk, *pclk; --- 25 unchanged lines hidden --- |