]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mips: mt76xx: Use correct timer frequency
authorStefan Roese <sr@denx.de>
Thu, 31 Jan 2019 06:24:43 +0000 (07:24 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 1 Feb 2019 13:12:36 +0000 (14:12 +0100)
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
include/configs/linkit-smart-7688.h

index b10857a757437a323acdc3bae51a3b2705167ed6..b3b89d2ab9e962a00cc606ba77b6afe8f8ef43b2 100644 (file)
@@ -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
index 3bae92d0ee7ac12f7c3d447ed7a184976b5b5d67..2adf38545a062757db8078f924d4c64ae8c3c768 100644 (file)
@@ -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