From a2ec7fb906ef43e478c4b860cad80b0f1e13905b Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Mon, 20 Apr 2015 12:56:24 +0200 Subject: zynq: Use system timer implementation instead of our Don't use error-prone arch timer code and instead use system timer implementation to simplify our code. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/configs') diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 926b381..be77e50 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -25,6 +25,11 @@ # define CONFIG_SYS_PL310_BASE 0xf8f02000 #endif +#define ZYNQ_SCUTIMER_BASEADDR 0xF8F00600 +#define CONFIG_SYS_TIMERBASE ZYNQ_SCUTIMER_BASEADDR +#define CONFIG_SYS_TIMER_COUNTS_DOWN +#define CONFIG_SYS_TIMER_COUNTER (CONFIG_SYS_TIMERBASE + 0x4) + /* Serial drivers */ #define CONFIG_BAUDRATE 115200 /* The following table includes the supported baudrates */ -- cgit v1.1