[U-Boot] [PATCH 3/3] arc: use timer driver for ARC boards

Simon Glass sjg at chromium.org
Sat Jan 21 04:51:12 CET 2017


On 16 January 2017 at 06:49, Vlad Zakharov
<Vladislav.Zakharov at synopsys.com> wrote:
> 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 at synopsys.com>
> ---
>  arch/Kconfig             |  3 +++
>  arch/arc/lib/Makefile    |  1 -
>  arch/arc/lib/timer.c     | 24 ------------------------
>  configs/axs101_defconfig |  1 -
>  configs/axs103_defconfig |  1 -
>  include/configs/axs10x.h |  2 --
>  include/configs/nsim.h   |  5 -----
>  include/configs/tb100.h  |  5 -----
>  8 files changed, 3 insertions(+), 39 deletions(-)
>  delete mode 100644 arch/arc/lib/timer.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list