From 3daa7c7b831ddeed0e490a899710a58691ee20c3 Mon Sep 17 00:00:00 2001 From: Vlad Zakharov Date: Tue, 21 Mar 2017 14:49:49 +0300 Subject: 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 Reviewed-by: Simon Glass --- include/configs/axs10x.h | 2 -- include/configs/nsim.h | 5 ----- include/configs/tb100.h | 5 ----- 3 files changed, 12 deletions(-) (limited to 'include') diff --git a/include/configs/axs10x.h b/include/configs/axs10x.h index d60db65fd20..768e8fbfa42 100644 --- a/include/configs/axs10x.h +++ b/include/configs/axs10x.h @@ -11,8 +11,6 @@ /* * CPU configuration */ -#define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ - #define ARC_FPGA_PERIPHERAL_BASE 0xE0000000 #define ARC_APB_PERIPHERAL_BASE 0xF0000000 #define ARC_DWMMC_BASE (ARC_FPGA_PERIPHERAL_BASE + 0x15000) diff --git a/include/configs/nsim.h b/include/configs/nsim.h index 0cc55b7bed9..d6d26c74b43 100644 --- a/include/configs/nsim.h +++ b/include/configs/nsim.h @@ -9,11 +9,6 @@ #include -/* - * CPU configuration - */ -#define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ - /* * Memory configuration */ diff --git a/include/configs/tb100.h b/include/configs/tb100.h index b7199430a5c..115b3b3c5be 100644 --- a/include/configs/tb100.h +++ b/include/configs/tb100.h @@ -9,11 +9,6 @@ #include -/* - * CPU configuration - */ -#define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ - /* * Memory configuration */ -- cgit v1.2.3