From: andy.tang at nxp.com Date: Mon, 9 Oct 2017 14:30:33 +0800 Subject: [U-Boot] [PATCH] armv8: configs: ls1012a: correct the generic timer frequency issue Message-ID: <20171009063033.34019-1-andy.tang@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Yuantian Tang Generic Timer frequency should be 25Mhz. Current setting is CONFIG_SYS_CLK_FREQ/4 which is about 31Mhz, which is not correct. So correct it. Signed-off-by: Tang Yuantian --- include/configs/ls1012a_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h index 096799eb64..a4e78f335f 100644 --- a/include/configs/ls1012a_common.h +++ b/include/configs/ls1012a_common.h @@ -32,7 +32,7 @@ #define CONFIG_SYS_DDR_BLOCK2_BASE 0x880000000ULL /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY CONFIG_SYS_CLK_FREQ/4 /* 25MHz */ +#define COUNTER_FREQUENCY 25000000 /* 25MHz */ /* CSU */ #define CONFIG_LAYERSCAPE_NS_ACCESS -- 2.14.1