diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-12-05 09:51:25 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-12-05 09:51:25 +0000 |
commit | fff859a1f6a7a319053e4efce787b88bc76985ab (patch) | |
tree | 6ca955ea78af5b99d8ac17e57747b6a1e69027d5 /target/linux/lantiq/patches-3.18/0011-lantiq-add-support-for-xrx200-firmware-depending-on-.patch | |
parent | ba0ba1e1f5b403e83a8cbdd90ba065e626318e30 (diff) | |
download | upstream-fff859a1f6a7a319053e4efce787b88bc76985ab.tar.gz upstream-fff859a1f6a7a319053e4efce787b88bc76985ab.tar.bz2 upstream-fff859a1f6a7a319053e4efce787b88bc76985ab.zip |
lantiq: remove 3.18 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47774
Diffstat (limited to 'target/linux/lantiq/patches-3.18/0011-lantiq-add-support-for-xrx200-firmware-depending-on-.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.18/0011-lantiq-add-support-for-xrx200-firmware-depending-on-.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/target/linux/lantiq/patches-3.18/0011-lantiq-add-support-for-xrx200-firmware-depending-on-.patch b/target/linux/lantiq/patches-3.18/0011-lantiq-add-support-for-xrx200-firmware-depending-on-.patch deleted file mode 100644 index 7a0e1c3e91..0000000000 --- a/target/linux/lantiq/patches-3.18/0011-lantiq-add-support-for-xrx200-firmware-depending-on-.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 85f0df34dee96048515ef1e01d88524bd579f8e0 Mon Sep 17 00:00:00 2001 -From: John Crispin <blogic@openwrt.org> -Date: Wed, 10 Sep 2014 22:39:19 +0200 -Subject: [PATCH 11/36] lantiq: add support for xrx200 firmware depending on - soc type -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> ---- - arch/mips/lantiq/xway/xrx200_phy_fw.c | 18 +++++++++++++++++- - 1 file changed, 17 insertions(+), 1 deletion(-) - ---- 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; - } |