diff options
Diffstat (limited to 'target/linux/ramips/patches/107-mt7628-sysclk.patch')
-rwxr-xr-x | target/linux/ramips/patches/107-mt7628-sysclk.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ramips/patches/107-mt7628-sysclk.patch b/target/linux/ramips/patches/107-mt7628-sysclk.patch new file mode 100755 index 0000000..15e5150 --- /dev/null +++ b/target/linux/ramips/patches/107-mt7628-sysclk.patch @@ -0,0 +1,13 @@ +Index: linux-3.10.14/arch/mips/ralink/init.c +=================================================================== +--- linux-3.10.14.orig/arch/mips/ralink/init.c ++++ linux-3.10.14/arch/mips/ralink/init.c +@@ -543,7 +543,7 @@ void prom_init_sysclk(void) + #elif defined (CONFIG_RALINK_MT7628) + case 0: + reg = (*(volatile u32 *)(RALINK_SYSCTL_BASE + 0x10)); +- if (reg & 0x80) ++ if (reg & 0x40) + { + /* 40MHz Xtal */ + mips_cpu_feq = 580 * 1000 * 1000; |