2019-06-04 16:11:33 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2016-01-05 03:23:55 +08:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* 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>
|
2020-02-12 18:15:44 +08:00
|
|
|
#include <linux/of_clk.h>
|
2016-01-05 03:23:55 +08:00
|
|
|
#include <linux/clocksource.h>
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
void __init plat_time_init(void)
|
|
|
|
{
|
|
|
|
ralink_of_remap();
|
|
|
|
|
|
|
|
of_clk_init(NULL);
|
2017-05-26 23:40:46 +08:00
|
|
|
timer_probe();
|
2016-01-05 03:23:55 +08:00
|
|
|
}
|