Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2f8b5c0 authored by Greentime Hu's avatar Greentime Hu
Browse files

nds32: Generic timers support



This patch adds support for timer.

Signed-off-by: default avatarVincent Chen <vincentc@andestech.com>
Signed-off-by: default avatarGreentime Hu <greentime@andestech.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
parent c9a4a8da
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
// 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();
}