arc: use timer driver for ARC boards
authorVlad Zakharov <vzakhar@synopsys.com>
Tue, 21 Mar 2017 11:49:49 +0000 (14:49 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Fri, 24 Mar 2017 11:47:52 +0000 (14:47 +0300)
commit3daa7c7b831ddeed0e490a899710a58691ee20c3
tree0d7bfbccd9a92bc5484e48ac707f3fccd9275916
parent0c77092e8163c716b637cffe681e4556db17ac31
arc: use timer driver for ARC boards

This commit replaces legacy timer code with usage of arc timer
driver.

It removes arch/arc/lib/time.c file and selects CONFIG_CLK,
CONFIG_TIMER and CONFIG_ARC_TIMER options for all ARC boards by default.
Therefore we remove CONFIG_CLK option from less common axs101 and
axs103 defconfigs.

Also it removes legacy CONFIG_SYS_TIMER_RATE config symbol from
axs10x.h, tb100.h and nsim.h configs files as it is no longer required.

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/Kconfig
arch/arc/lib/Makefile
arch/arc/lib/timer.c [deleted file]
configs/axs101_defconfig
configs/axs103_defconfig
include/configs/axs10x.h
include/configs/nsim.h
include/configs/tb100.h