All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mips: mt76xx: Use correct timer frequency
@ 2019-01-31  6:24 Stefan Roese
  2019-02-01 13:12 ` Daniel Schwierzeck
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Roese @ 2019-01-31  6:24 UTC (permalink / raw)
  To: u-boot

Testing has shown that the timer on the MT7688 platforms does not run
correctly (too fast timeout). This patch changes
CONFIG_SYS_MIPS_TIMER_FREQ from 200MHz to 290MHz which is the correct
value, as its also used in Linux.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
---
 include/configs/gardena-smart-gateway-mt7688.h | 2 +-
 include/configs/linkit-smart-7688.h            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/gardena-smart-gateway-mt7688.h b/include/configs/gardena-smart-gateway-mt7688.h
index b10857a757..b3b89d2ab9 100644
--- a/include/configs/gardena-smart-gateway-mt7688.h
+++ b/include/configs/gardena-smart-gateway-mt7688.h
@@ -7,7 +7,7 @@
 #define __CONFIG_GARDENA_SMART_GATEWAY_H
 
 /* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ	200000000
+#define CONFIG_SYS_MIPS_TIMER_FREQ	290000000
 
 /* RAM */
 #define CONFIG_SYS_SDRAM_BASE		0x80000000
diff --git a/include/configs/linkit-smart-7688.h b/include/configs/linkit-smart-7688.h
index 3bae92d0ee..2adf38545a 100644
--- a/include/configs/linkit-smart-7688.h
+++ b/include/configs/linkit-smart-7688.h
@@ -7,7 +7,7 @@
 #define __CONFIG_LINKIT_SMART_7688_H
 
 /* CPU */
-#define CONFIG_SYS_MIPS_TIMER_FREQ	200000000
+#define CONFIG_SYS_MIPS_TIMER_FREQ	290000000
 
 /* RAM */
 #define CONFIG_SYS_SDRAM_BASE		0x80000000
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] mips: mt76xx: Use correct timer frequency
  2019-01-31  6:24 [U-Boot] [PATCH] mips: mt76xx: Use correct timer frequency Stefan Roese
@ 2019-02-01 13:12 ` Daniel Schwierzeck
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Schwierzeck @ 2019-02-01 13:12 UTC (permalink / raw)
  To: u-boot



Am 31.01.19 um 07:24 schrieb Stefan Roese:
> Testing has shown that the timer on the MT7688 platforms does not run
> correctly (too fast timeout). This patch changes
> CONFIG_SYS_MIPS_TIMER_FREQ from 200MHz to 290MHz which is the correct
> value, as its also used in Linux.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
> ---
>  include/configs/gardena-smart-gateway-mt7688.h | 2 +-
>  include/configs/linkit-smart-7688.h            | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 

applied to u-boot-mips, thanks.

-- 
- Daniel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-01 13:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-31  6:24 [U-Boot] [PATCH] mips: mt76xx: Use correct timer frequency Stefan Roese
2019-02-01 13:12 ` Daniel Schwierzeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.