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

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: factor out malloc from SPI flash drivers

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: drop senseless and code-bloating warning message

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: add malloc-free probe functions dedicated for SPL

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: factor out the flash address calculation

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: eon: use 16 bit ID for comparison

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

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: spansion: fix device IDs and sector architecture for S25FL256S

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

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

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

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: add MTD layer driver for SPI flash devices

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
sf: add init function

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
MIPS: add SPI flash init hook

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>