diff mbox series

configs: stih410-b2260: Fix SYS_HZ_CLOCK value

Message ID 20220824150659.1117510-1-patrice.chotard@foss.st.com
State Superseded
Headers show
Series configs: stih410-b2260: Fix SYS_HZ_CLOCK value | expand

Commit Message

Patrice CHOTARD Aug. 24, 2022, 3:06 p.m. UTC
SYS_HZ_CLOCK was wrongly set to 1MHz whereas it's set to 750MHz
by default by bootrom.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---

 include/configs/stih410-b2260.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Grzegorz Szymaszek Aug. 24, 2022, 5:51 p.m. UTC | #1
Hi,

On Wed, Aug 24, 2022 at 05:06:59PM +0200, Patrice Chotard wrote:
> SYS_HZ_CLOCK was wrongly set to 1MHz whereas it's set to 750MHz
> by default by bootrom.

s/1MHz/1GHz/, it seems. Otherwise:
Reviewed-by: Grzegorz Szymaszek <gszymaszek@short.pl>


All the best
Patrice CHOTARD Aug. 25, 2022, 7:19 a.m. UTC | #2
Hi Grzegorz

On 8/24/22 19:51, Grzegorz Szymaszek wrote:
> Hi,
> 
> On Wed, Aug 24, 2022 at 05:06:59PM +0200, Patrice Chotard wrote:
>> SYS_HZ_CLOCK was wrongly set to 1MHz whereas it's set to 750MHz
>> by default by bootrom.
> 
> s/1MHz/1GHz/, it seems. Otherwise:

I confirm ;-), i sent a v2 with your reviewed-by and this fix.
Thanks

> Reviewed-by: Grzegorz Szymaszek <gszymaszek@short.pl>
> 
> 
> All the best
>
diff mbox series

Patch

diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h
index b1a011bacb..1e966a2322 100644
--- a/include/configs/stih410-b2260.h
+++ b/include/configs/stih410-b2260.h
@@ -14,7 +14,7 @@ 
 #define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
 #define PHYS_SDRAM_1_SIZE		0x3E000000
 
-#define CONFIG_SYS_HZ_CLOCK		1000000000	/* 1 GHz */
+#define CONFIG_SYS_HZ_CLOCK		750000000	/* 750 MHz */
 
 /* Environment */