sf: fix out-of-order calls for spi_claim_bus and spi_release_bus

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: consistently use debug() for warning/error messages

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: move malloc of spi_flash to spi_flash_probe()

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: add slim probe funtions for SPL

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: remove silly malloc from spi_flash_cmd_read_ops

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: make calculatiom of address bytes completely configurable

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: add support for 4-byte addressing

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: add support for EN25QH256

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: fix sector layout of S25FL256S_256K and S25FL512S_256K

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
net: switchlib: add framework for ethernet switch drivers

Add a generic framework similar to phylib for ethernet switch
drivers and devices. This is useful to share the init and
setup code for switch devices across different boards.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
net: switchlib: add driver for Lantiq PSB697X switch family

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
net: switchlib: add driver for Lantiq ADM6996I switch family

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
net: switchlib: add driver for Atheros AR8216

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
net: switchlib: add driver for REALTEK RTL8306

Signed-off-by: Oliver Muth <dr.o.muth@gmx.de>
Signed-off-by: Antonios Vamporakis <ant@area128.com>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
net: phy: fix redundant inclusion of errno.h

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
mtd: cfi: add support for board-specific flash address swapping

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
spl: add support for LZMA and LZO compression

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
MIPS: add generic gpio header file

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
MIPS: allow gc-sections also for ASM macros

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
MIPS: add register definitions for 24k/34k CPUs

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>