bcm53xx: backport spi-nor changes and update bcm53xxspiflash

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43738 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar8216: remove unused function parameter in ar8327_led_register

Remove unused function parameter in ar8327_led_register.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43739 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar8216: Factor out chip-specific parameters from ar8xxx_probe_switch

Factor out chip-specific parameters from ar8xxx_probe_switch.
Move the ar8xxx_chip definitions after the swops definitions.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43740 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar8216: Create helpers mii_read32 / mii_write32 for 32 bit MII ops

Create helpers mii_read32 / mii_write32 for 32 bit MII ops.
Rename r3 variable to page in ar8xxx_mii_write to make it consistent
with the other ar8xxx_mii_xxxx functions.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43741 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar8216: Remove read/write/rmw member functions from ar8xxx_priv

Remove read/write/rmw member functions from ar8xxx_priv

There seems to be no real benefit of the ar8xxx_priv member functions
read/write/rmw as one implementation exists for each of them only.
Especially ar8xxx_mii_rmw is assigned to priv->rmw first and then
mapped to ar8xxx_rmw.
Rename the ar8xxx_mii_.. functions to ar8xxx_.. and use them directly.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43742 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar8216: Inline function ar8xxx_create_mii

Inline function ar8xxx_create_mii.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43743 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar71xx: add support for qca956x soc

This patch adds soc support for QCA9561 and TP9343.
TP9343 is a reduced version of QCA9561, which can be found in TP-LINK routers in China.
The qca956x_wmac has not yet been supported by ath9k.

tested on TL-WDR6500 and TL-WR882N v1 (Chinese version)

Signed-off-by: Weijie Gao <hackpascal@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43744 3c298f89-4303-0410-b956-a3cf2f4a3e73
binutils: break-out libbfd, libopcodes and ar

Package libbfd, libopcodes and ar seperately.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43745 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar7: remove leftover 3.10 patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43746 3c298f89-4303-0410-b956-a3cf2f4a3e73
uboot-envtools: add more kirkwood boards

- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus

Signed-off-by: Gerald Kerma <dreagle@doukki.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43747 3c298f89-4303-0410-b956-a3cf2f4a3e73
bcm53xx: PCIe: add link check again

When there is no device connected to the controller we should not start 
the controller. This also changes between PCIe 1.0 and PCIe 2.0 speed 
based on the device. This code is based on code from the new Broadcom 
PCIe controller driver.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43748 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: bgmac: fix some problems

There are some problems in the napi usage that are fixed now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43749 3c298f89-4303-0410-b956-a3cf2f4a3e73
kirkwood: set default EA4500 switch config

This maps the LAN ports to eth0 and WAN port to eth1.
Since there are two interfaces the 802.1q VLAN mode
is unnecessary and left disabled. Port-based VLANs
are used instead.

Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43750 3c298f89-4303-0410-b956-a3cf2f4a3e73
kikwood: populate kirkwood.sh with new boards

- SheevaPlug
- SheevaPlug with eSATA
- GuruplugServerPlus

Signed-off-by: Gerald Kerma <dreagle@doukki.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43751 3c298f89-4303-0410-b956-a3cf2f4a3e73
kirkwood: add *plugs to uci-defaults

Set defaults health led to a timer heartbeet (200/800)
and populate network for:

- GuruplugServerPlus
- SheevaPlug
- SheevaPlug with eSATA

Signed-off-by: Gerald Kerma <dreagle@doukki.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43752 3c298f89-4303-0410-b956-a3cf2f4a3e73
mvsw6171: note support for 88E6172 switches

The '6171 and '6172 are similar enough to work
without any changes to the code.

Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43753 3c298f89-4303-0410-b956-a3cf2f4a3e73
bcm53xx: support WAN connected to switch port 0

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43754 3c298f89-4303-0410-b956-a3cf2f4a3e73
buffalo-enc: accept the longstate command line option

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43755 3c298f89-4303-0410-b956-a3cf2f4a3e73
buffalo-enc: pass the longstate option to decryption

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43756 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: disable soft-reset for generic PHY devices to avoid accidentally clearing preinitialized state

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43757 3c298f89-4303-0410-b956-a3cf2f4a3e73