diff options
author | John Crispin <john@openwrt.org> | 2015-11-02 10:18:24 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-11-02 10:18:24 +0000 |
commit | 67d890315c0223cae256db2044a975d0b4307d03 (patch) | |
tree | f9b6a0a3da7d0c6ac5aca00f233de032c74d82a1 | |
parent | 165244a222bf466bd952bac38de1cbdd53a80113 (diff) | |
download | mtk-20170518-67d890315c0223cae256db2044a975d0b4307d03.zip mtk-20170518-67d890315c0223cae256db2044a975d0b4307d03.tar.gz mtk-20170518-67d890315c0223cae256db2044a975d0b4307d03.tar.bz2 |
uboot-lantiq: Add SoC version 1.2 support for Arcadyan VGV7510KW22
This fixes #20409
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 47352
-rw-r--r-- | package/boot/uboot-lantiq/patches/0043-MIPS-add-board-support-for-Arcadyan-VGV7510KW22.patch | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/package/boot/uboot-lantiq/patches/0043-MIPS-add-board-support-for-Arcadyan-VGV7510KW22.patch b/package/boot/uboot-lantiq/patches/0043-MIPS-add-board-support-for-Arcadyan-VGV7510KW22.patch index a491032..adb894f 100644 --- a/package/boot/uboot-lantiq/patches/0043-MIPS-add-board-support-for-Arcadyan-VGV7510KW22.patch +++ b/package/boot/uboot-lantiq/patches/0043-MIPS-add-board-support-for-Arcadyan-VGV7510KW22.patch @@ -30,7 +30,7 @@ +######################################################################### --- /dev/null +++ b/board/arcadyan/vgv7510kw22/vgv7510kw22.c -@@ -0,0 +1,133 @@ +@@ -0,0 +1,136 @@ +/* + * Copyright (C) 2015 Martin Blumenstingl <martin.blumenstingl@googlemail.com> + * @@ -122,7 +122,10 @@ + const enum ltq_gphy_clk clk = LTQ_GPHY_CLK_25MHZ_PLL0; + const ulong fw_addr = 0x80FF0000; + -+ ltq_gphy_phy22f_a1x_load(fw_addr); ++ if (ltq_chip_version_get() == 1) ++ ltq_gphy_phy22f_a1x_load(fw_addr); ++ else ++ ltq_gphy_phy22f_a2x_load(fw_addr); + + ltq_cgu_gphy_clk_src(clk); + |