From: Kever Yang Date: Tue, 31 Dec 2019 18:01:57 +0800 Subject: [PATCH 1/3] rockchip: rk3328: add COUNTER_FREQUENCY definition Message-ID: <20191231100159.8424-1-kever.yang@rock-chips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The arch timer needs COUNTER_FREQUENCY to get correct counter, add it to make the timer works correct. Signed-off-by: Kever Yang --- include/configs/rk3328_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/rk3328_common.h b/include/configs/rk3328_common.h index b14da3a626..407e5d2931 100644 --- a/include/configs/rk3328_common.h +++ b/include/configs/rk3328_common.h @@ -11,6 +11,7 @@ #define CONFIG_IRAM_BASE 0xff090000 #define CONFIG_ROCKCHIP_STIMER_BASE 0xff1d0020 +#define COUNTER_FREQUENCY 24000000 #define CONFIG_SYS_CBSIZE 1024 #define CONFIG_SKIP_LOWLEVEL_INIT -- 2.17.1