mips: mt76xx: Use correct timer frequency
PATCH 1/1 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 <[email protected]>
Cc Daniel Schwierzeck <[email protected]>
--- include/configs/gardena-smart-gateway-mt7688.h | 2 +- include/configs/linkit-smart-7688.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
include/configs/gardena-smart-gateway-mt7688.h +1 -1
@@ -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
include/configs/linkit-smart-7688.h +1 -1
@@ -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
Signature · 1 line
2.20.1
PATCH 1/1 mips: mt76xx: Use correct timer frequency
Am 31.01.19 um 07:24 schrieb Stefan Roese:
Quoted 5 lines
Testing has shown that the timer on the MT7688 platforms does not run correctly (too fast timeout). This patch changes
CONFIG_SYS_MIPS_TIMER_FREQfrom 200MHz to 290MHz which is the correct value, as its also used in Linux.
Quoted 7 lines
Signed-off-by Stefan Roese <[email protected]>Cc Daniel Schwierzeck <[email protected]>--- 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.
Signature · 1 line
- Daniel