aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.10/0210-lantiq-xrx200-firmware-multi-version.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-12-13 11:54:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-12-13 11:54:57 +0000
commitc7e8b5ebbdfa098436945e1721b34562cd488f6f (patch)
treeecf4a556d01dcd70743862e1ce5853e22c80b59b /target/linux/lantiq/patches-3.10/0210-lantiq-xrx200-firmware-multi-version.patch
parentdaeec86fba3fee15045429802f06cdd715c688c6 (diff)
downloadupstream-c7e8b5ebbdfa098436945e1721b34562cd488f6f.tar.gz
upstream-c7e8b5ebbdfa098436945e1721b34562cd488f6f.tar.bz2
upstream-c7e8b5ebbdfa098436945e1721b34562cd488f6f.zip
lantiq: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43685
Diffstat (limited to 'target/linux/lantiq/patches-3.10/0210-lantiq-xrx200-firmware-multi-version.patch')
-rw-r--r--target/linux/lantiq/patches-3.10/0210-lantiq-xrx200-firmware-multi-version.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/target/linux/lantiq/patches-3.10/0210-lantiq-xrx200-firmware-multi-version.patch b/target/linux/lantiq/patches-3.10/0210-lantiq-xrx200-firmware-multi-version.patch
deleted file mode 100644
index cf5e5cfba9..0000000000
--- a/target/linux/lantiq/patches-3.10/0210-lantiq-xrx200-firmware-multi-version.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- a/arch/mips/lantiq/xway/xrx200_phy_fw.c
-+++ b/arch/mips/lantiq/xway/xrx200_phy_fw.c
-@@ -24,7 +24,23 @@ static dma_addr_t xway_gphy_load(struct
- void *fw_addr;
- size_t size;
-
-- if (of_property_read_string(pdev->dev.of_node, "firmware", &fw_name)) {
-+ if (of_get_property(pdev->dev.of_node, "firmware1", NULL) || of_get_property(pdev->dev.of_node, "firmware2", NULL)) {
-+ switch(ltq_soc_type()) {
-+ case SOC_TYPE_VR9:
-+ if (of_property_read_string(pdev->dev.of_node, "firmware1", &fw_name)) {
-+ dev_err(&pdev->dev, "failed to load firmware filename\n");
-+ return 0;
-+ }
-+ break;
-+ case SOC_TYPE_VR9_2:
-+ if (of_property_read_string(pdev->dev.of_node, "firmware2", &fw_name)) {
-+ dev_err(&pdev->dev, "failed to load firmware filename\n");
-+ return 0;
-+ }
-+ break;
-+ }
-+ }
-+ else if (of_property_read_string(pdev->dev.of_node, "firmware", &fw_name)) {
- dev_err(&pdev->dev, "failed to load firmware filename\n");
- return 0;
- }