diff options
Diffstat (limited to 'arch/arm/mach-socfpga/socfpga.c')
| -rw-r--r-- | arch/arm/mach-socfpga/socfpga.c | 16 | 
1 files changed, 2 insertions, 14 deletions
diff --git a/arch/arm/mach-socfpga/socfpga.c b/arch/arm/mach-socfpga/socfpga.c index bfce9641e32..adbf38314ca 100644 --- a/arch/arm/mach-socfpga/socfpga.c +++ b/arch/arm/mach-socfpga/socfpga.c @@ -14,7 +14,6 @@   * You should have received a copy of the GNU General Public License   * along with this program.  If not, see <http://www.gnu.org/licenses/>.   */ -#include <linux/clk-provider.h>  #include <linux/irqchip.h>  #include <linux/of_address.h>  #include <linux/of_irq.h> @@ -30,7 +29,6 @@  void __iomem *socfpga_scu_base_addr = ((void __iomem *)(SOCFPGA_SCU_VIRT_BASE));  void __iomem *sys_manager_base_addr;  void __iomem *rst_manager_base_addr; -void __iomem *clk_mgr_base_addr;  unsigned long cpu1start_addr;  static struct map_desc scu_io_desc __initdata = { @@ -79,9 +77,6 @@ void __init socfpga_sysmgr_init(void)  	np = of_find_compatible_node(NULL, NULL, "altr,rst-mgr");  	rst_manager_base_addr = of_iomap(np, 0); - -	np = of_find_compatible_node(NULL, NULL, "altr,clk-mgr"); -	clk_mgr_base_addr = of_iomap(np, 0);  }  static void __init socfpga_init_irq(void) @@ -103,24 +98,17 @@ static void socfpga_cyclone5_restart(enum reboot_mode mode, const char *cmd)  	writel(temp, rst_manager_base_addr + SOCFPGA_RSTMGR_CTRL);  } -static void __init socfpga_cyclone5_init(void) -{ -	l2x0_of_init(0, ~0UL); -	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); -	of_clk_init(NULL); -	socfpga_init_clocks(); -} -  static const char *altera_dt_match[] = {  	"altr,socfpga",  	NULL  };  DT_MACHINE_START(SOCFPGA, "Altera SOCFPGA") +	.l2c_aux_val	= 0, +	.l2c_aux_mask	= ~0,  	.smp		= smp_ops(socfpga_smp_ops),  	.map_io		= socfpga_map_io,  	.init_irq	= socfpga_init_irq, -	.init_machine	= socfpga_cyclone5_init,  	.restart	= socfpga_cyclone5_restart,  	.dt_compat	= altera_dt_match,  MACHINE_END  | 
