summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2019-01-31 07:24:43 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2019-02-01 14:12:36 +0100
commitfdceb0d7354fe24933b0c152510001e50a22a4ae (patch)
tree0298e2e38c37efe63e6f302b80412a052efddab1 /include
parent78b543141090b7c35a64418157b5194588a9f955 (diff)
mips: mt76xx: Use correct timer frequency
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/gardena-smart-gateway-mt7688.h2
-rw-r--r--include/configs/linkit-smart-7688.h2
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