]> git.baikalelectronics.ru Git - kernel.git/commit
openrisc: init: Add support for common clk
authorStafford Horne <shorne@gmail.com>
Tue, 11 Jan 2022 02:55:37 +0000 (11:55 +0900)
committerStafford Horne <shorne@gmail.com>
Tue, 11 Jan 2022 21:13:22 +0000 (06:13 +0900)
commit1839a07e96654911fb24c131dade8c48d51c7c1e
tree259dd1e56a0352dcc00e0e32f2c7ea2f83bbe8c1
parent778ed0ea020641193172da7e1dc676f19e9b089d
openrisc: init: Add support for common clk

When testing the new litex_mmc driver it was found to not work on
OpenRISC due to missing support for common clk.  This patch does the
basic initialization to allow OpenRISC to use the common clk framework.

Signed-off-by: Stafford Horne <shorne@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/openrisc/Kconfig
arch/openrisc/kernel/time.c