提交 e2f8b5c0 编写于 作者: G Greentime Hu

nds32: Generic timers support

This patch adds support for timer.
Signed-off-by: NVincent Chen <vincentc@andestech.com>
Signed-off-by: NGreentime Hu <greentime@andestech.com>
Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
Acked-by: NArnd Bergmann <arnd@arndb.de>
上级 c9a4a8da
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2005-2017 Andes Technology Corporation
#include <linux/clocksource.h>
#include <linux/clk-provider.h>
void __init time_init(void)
{
of_clk_init(NULL);
timer_probe();
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册