Commit Graph

13434 Commits

Author SHA1 Message Date
Rafał Miłecki
2b56913734 bcm53xx: fixup early device id 8012
Looks like the BCM53012 has a similar problem to the BCM53011.

Signed-off-by: Ian Kent <raven@themaw.net>

SVN-Revision: 44680
2015-03-11 17:32:02 +00:00
Rafał Miłecki
4c67f1d464 bcm53xx: fix typo in bcm47xx sprom driver
Fix thinko' in the bcm47xx sprom driver.

Signed-off-by: Ian Kent <raven@themaw.net>

SVN-Revision: 44679
2015-03-11 17:10:19 +00:00
John Crispin
da3fd5dbf9 kenrel: refresh patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44678
2015-03-11 17:08:46 +00:00
John Crispin
d5c250b91a lantiq: make the new dwc2 support only work for vr9
danube needs to be added

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44677
2015-03-11 17:08:40 +00:00
John Crispin
2a390925df lantiq: Convert Zyxel P-2812HNU-FX and TP-Link TD-W8970 to support dwc2
Here the device tree entry for ifxhcd is listed as compatible with one
supported in dwc2 (after patching the dwc driver appropriately).

A second entry is added to support the second core of the hcd. This
entry is listed to be compatible with only dwc2. Done this way there
should be backwards support for both hcd drivers (ltq-hcd and dwc2)

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

SVN-Revision: 44676
2015-03-11 17:08:32 +00:00
John Crispin
72822d0192 lantiq: Use platform endianness when accessing dwc2 registers
This patch switches calls to readl/writel to their
dwc2_readl/dwc2_writel equivalents which preserve platform endianness.

This patch is necessary to access dwc2 registers correctly on big
endian systems such as the mips based SoCs made by Lantiq. Then dwc2
can be used to replace ifx-hcd driver for Lantiq platforms found e.g.
in OpenWrt.

The patch was autogenerated with the following commands:
$EDITOR core.h
sed -i "s/\<readl\>/dwc2_readl/g" *.c hcd.h hw.h
sed -i "s/\<writel\>/dwc2_writel/g" *.c hcd.h hw.h

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

SVN-Revision: 44675
2015-03-11 17:08:26 +00:00
John Crispin
d77c857509 lantiq: Add sensible hw-defaults for dwc2
Lantiq driver does not work with autodetected fifo sizes so use ones
from original ltq-hcd driver in dwc2. Other values can be
autodetected.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

SVN-Revision: 44674
2015-03-11 17:08:15 +00:00
John Crispin
2ddcf4c46e lantiq: Configure gpio power output pin when initializing dwc2 usb
Port gpio code from original ltq-hcd driver to dwc2.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

SVN-Revision: 44673
2015-03-11 17:08:08 +00:00
John Crispin
a23da431dc lantiq: Add usb initialization bits from ltq-hcd to platform init
Add VR9 specific usb initialization bits from ltq-hcd to platform
initialization.

This patch is more of a proof-of-concept than production quality
since the initialization registers are different on other lantiq
platforms.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

SVN-Revision: 44672
2015-03-11 17:08:02 +00:00
John Crispin
2eb8739b42 cobalt: rename config file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44668
2015-03-11 16:22:01 +00:00
John Crispin
a0c4419b0d ar71xx: improve WD's My Net Wi-fi Range Extender image creation
Previously, the generated images for the My Net Wi-fi Range Extender
wouldn't always work (and panic) due to the fixed mtd offsets and
sizes for the kernel and rootfs. This patch fixes the problem by
utilizing the shared Cybertan's partition parser to recalculate
the mtd partitions for every image dynamically everytime.

Reported-by: Pascal Paradis <peparadis@yahoo.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

SVN-Revision: 44665
2015-03-11 15:56:34 +00:00
John Crispin
69955cf733 ar71xx: generalize cybertan partition parser
By removing the NL16 signature check, the parser can be
utilized by other devices like the WD My Net Wi-fi Range
Extender.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

SVN-Revision: 44664
2015-03-11 15:56:27 +00:00
John Crispin
e5373f2761 ar71xx: rename wrt160nl's trx partition parser
This patch renames the partition parser from
wrt160nl to more generic cybertan.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

SVN-Revision: 44663
2015-03-11 15:56:15 +00:00
John Crispin
9f16b370a0 ar71xx: fix WRT160NL and TP-Link partition parser patches
405-mtd-tp-link-partition-parser.patch was updating the
WRT160NL's partition parser Kconfig. This patch moves the
relevant change into the right file:
404-mtd-wrt160nl-trx-parser.patch

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

SVN-Revision: 44662
2015-03-11 15:55:55 +00:00
John Crispin
0496393f9c ralink: FireWRT flash size is up to 16M.
Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44661
2015-03-11 15:55:28 +00:00
John Crispin
260dea38fb ralink: add FireWRT IO multiplexing
Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44660
2015-03-11 15:55:16 +00:00
John Crispin
abdf788610 ar71xx: fix switched WLAN LEDs on TP-LINK Archer C5/C7
ath10k is loaded before ath9k, so the 5GHz adapter becomes phy0.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 44659
2015-03-11 15:55:06 +00:00
John Crispin
7dc189c572 Fix 3.18.8 breakage of UBI devices with EOF marker (e.g. WNDR4300)
This commit re-adds a patch from 3.14 that is required for UBI block
devices with an EOF marker to be successfully mounted.

Signed-off-by: Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>

SVN-Revision: 44658
2015-03-11 15:54:52 +00:00
Felix Fietkau
ac999f4f33 kernel: backport an export required by newer compat-wireless versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44653
2015-03-11 15:02:16 +00:00
Imre Kaloz
57b447281d ppc44x: use the mtdsplit framework for the Taishan
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44652
2015-03-11 12:20:03 +00:00
John Crispin
daf2140192 ar71xx: fix gpio-latch driver
gpio api has changed. the remove call no longer returns a value.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44650
2015-03-10 20:19:54 +00:00
Luka Perkov
4f581d97bf ar71xx: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44649
2015-03-10 16:11:44 +00:00
Luka Perkov
e04e623009 ar71xx: wpj588: add missing usb support
Signed-off-by: Luka Perkov <luka@openwrt.org>
Tested-By: Christian Mehlis <christian@m3hlis.de>

SVN-Revision: 44648
2015-03-10 16:11:39 +00:00
John Crispin
4bc9aad079 ar71xx: Fix LED polarity for the TP-LINK TL-MR13U.
Please also backport to Barrier Breaker (this same patch applies there too).

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 44647
2015-03-10 13:26:50 +00:00
John Crispin
5801465eb3 ar71xx: Fix board detection for the TP-LINK TL-MR13U.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 44646
2015-03-10 13:26:44 +00:00
John Crispin
850bab2559 kernel: fix yaffs compile for >= v3.16
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44643
2015-03-10 13:08:17 +00:00
John Crispin
9654b38319 ralink: add missing symbol that broke full builds
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44642
2015-03-10 11:03:16 +00:00
John Crispin
cacc152a37 kirkwood: add missing symbol that broke full builds
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44641
2015-03-10 11:03:10 +00:00
John Crispin
a3af8bf216 au1000: build fails if the input layer is not selected
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44640
2015-03-10 11:03:04 +00:00
John Crispin
1e3915a6c4 ipq806x: add 2 missing symbols that broke a full build
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44639
2015-03-10 11:02:52 +00:00
John Crispin
8777e3189e ar7: register_mtd_parser() does no longer have a return value
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44638
2015-03-10 11:02:45 +00:00
Imre Kaloz
d16f07aa10 ppc44x: upgrade and switch to 3.18
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44637
2015-03-10 10:00:41 +00:00
Rafał Miłecki
c3b9b35155 bcm53xx: fix printing NAND controller revision
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44622
2015-03-07 12:31:42 +00:00
Imre Kaloz
fd17ad3d9a mvebu: add backported patch to reenable hw i/o coherency
Reported-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44621
2015-03-06 18:57:49 +00:00
Luka Perkov
b065411a85 ar71xx: add support for compex wpj558
OpenWrt can be flashed with following uboot commands:

tftpboot 0x80500000 openwrt-ar71xx-generic-wpj558-16M-squashfs-sysupgrade.bin
erase 0x9f030000 +$filesize
cp.b $fileaddr 0x9f030000 $filesize

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44620
2015-03-06 14:41:57 +00:00
John Crispin
57c7bed820 swconfig: fix build with linux 4.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44617
2015-03-06 07:57:03 +00:00
John Crispin
3ddd2b49a9 ipq806x: rename patches in patches-3.18
This will allow ipq806x to support multiple kernel version more easily.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 44616
2015-03-06 07:56:58 +00:00
John Crispin
d15ac306fa kernel: move KERNFS to generic config
KERNFS symbol is selected by SYSFS, so place it in generic config.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44615
2015-03-06 07:56:47 +00:00
John Crispin
f04a268a04 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since
only one platfrom (omap) needs them.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44614
2015-03-06 07:56:34 +00:00
John Crispin
fa097e5ae5 kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44613
2015-03-06 07:56:21 +00:00
John Crispin
6617845711 kernel: move MTD_SPLIT_SUPPORT to generic config
CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform
specific configs explicitly enables it, while no one platform disables
this symbol. So place it in generic config and remove from platform
specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44612
2015-03-06 07:56:08 +00:00
John Crispin
7886cced18 kernel: remove GENERIC_NET_UTILS from platform configs
CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled
in generic config, so we don't need this symbol in platform specific
configurations.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44611
2015-03-06 07:55:57 +00:00
Luka Perkov
f40e7946ce kirkwood: drop support for 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44610
2015-03-05 23:43:27 +00:00
Luka Perkov
37cef98844 kirkwood: switch to 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44609
2015-03-05 23:43:24 +00:00
Luka Perkov
84c0248e5a generic: add CONFIG_FW_LOADER_USER_HELPER symbol
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44608
2015-03-05 23:43:21 +00:00
John Crispin
f1625b116f at91: add SAMA5D3-Xplained board UBI parameters to makefile.
Signed-off-by: Songjun Wu <songjun.wu@atmel.com>

SVN-Revision: 44604
2015-03-05 20:24:57 +00:00
John Crispin
a29bd8bdbf brcm2708: add another missing symbol
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44601
2015-03-05 20:24:39 +00:00
John Crispin
959a1334d4 generic: add USB_DWC2 missing symbols
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44600
2015-03-05 20:24:33 +00:00
John Crispin
d9687a4076 generic: add missing symbols for 4.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44599
2015-03-05 20:24:28 +00:00
Rafał Miłecki
8be054faf4 kernel: backport bcma changes to 3.19 and 4.0
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44597
2015-03-04 07:08:39 +00:00