sf: factor out malloc from SPI flash drivers

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 generic support for 4-byte address mode

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 4-byte address mode

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 4-byte address mode

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 4-byte address mode

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>
sf: handle CONFIG_MANUAL_RELOC

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>