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: 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>
.gitignore: add auto-generated /include/[s|t]pl-autoconf.mk

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>
Cc: Joe Hershberger <joe.hershberger@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>
WIP: net: switchlib: add driver for REALTEK RTL8306

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
MIPS: add support for Lantiq XWAY SoCs

Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
MIPS: vrx200: update PHY firmware

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
MIPS: lantiq: spl: validate CRC of u-boot image

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
MIPS: lantiq: add support for Lantiq XWAY ARX100 SoC family

Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
net: add driver for Lantiq XWAY ARX100 switch

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
tools: add some helper tools for Lantiq SoCs

Signed-off-by: Luka Perkov Luka Perkov <luka@openwrt.org>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>