From 1a1d69da08216b3f503bccff3e371194d80e75dd Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 18 Feb 2015 09:49:38 +0000 Subject: au1000: fix 3.18 and set it as default Thanks to Bruno Randolf for testing and Manuel Lauss for providing a fix. Signed-off-by: John Crispin SVN-Revision: 44487 --- target/linux/au1000/patches/005-fix-cpu-clk.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/au1000/patches/005-fix-cpu-clk.patch (limited to 'target/linux/au1000/patches') diff --git a/target/linux/au1000/patches/005-fix-cpu-clk.patch b/target/linux/au1000/patches/005-fix-cpu-clk.patch new file mode 100644 index 0000000000..b925638817 --- /dev/null +++ b/target/linux/au1000/patches/005-fix-cpu-clk.patch @@ -0,0 +1,11 @@ +--- a/arch/mips/alchemy/common/clock.c ++++ b/arch/mips/alchemy/common/clock.c +@@ -128,6 +128,8 @@ + t = 396000000; + else { + t = alchemy_rdsys(AU1000_SYS_CPUPLL) & 0x7f; ++ if (alchemy_get_cputype() != ALCHEMY_CPU_AU1300) ++ t &= 0x3f; + t *= parent_rate; + } + -- cgit v1.2.3