2016-01-05 03:23:55 +08:00
|
|
|
/*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
|
|
* by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com>
|
2016-05-05 15:57:56 +08:00
|
|
|
* Copyright (C) 2015 John Crispin <john@phrozen.org>
|
2016-01-05 03:23:55 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/init.h>
|
|
|
|
|
|
|
|
#include <linux/of.h>
|
|
|
|
#include <linux/clk-provider.h>
|
|
|
|
#include <linux/clocksource.h>
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
void __init plat_time_init(void)
|
|
|
|
{
|
|
|
|
ralink_of_remap();
|
|
|
|
|
|
|
|
of_clk_init(NULL);
|
|
|
|
clocksource_probe();
|
|
|
|
}
|