Add support for the MediaTek based boards by Onion. Whereas the second commit adds the actual board support, the first commit handles a tight flash size constraint for the u-boot-with-spl.bin image.
Changes in v2: -------------- I forgot to run checkpatch in v1. Fix some style issues in v2. Philip Oberfichtner (2): spl: Add size check for u-boot-with-spl.bin mips: mt7628: Add Onion Omega2/2+ board support Makefile | 7 ++ arch/mips/dts/Makefile | 1 + arch/mips/dts/onion-omega2p.dts | 58 ++++++++++++ arch/mips/mach-mtmips/mt7628/Kconfig | 7 ++ board/onion/omega2p/Kconfig | 12 +++ board/onion/omega2p/MAINTAINERS | 10 ++ board/onion/omega2p/Makefile | 3 + board/onion/omega2p/board.c | 134 +++++++++++++++++++++++++++ board/onion/omega2p/omega2p.env | 18 ++++ common/spl/Kconfig | 7 ++ configs/onion-omega2p_defconfig | 81 ++++++++++++++++ include/configs/onion-omega2p.h | 15 +++ 12 files changed, 353 insertions(+) create mode 100644 arch/mips/dts/onion-omega2p.dts create mode 100644 board/onion/omega2p/Kconfig create mode 100644 board/onion/omega2p/MAINTAINERS create mode 100644 board/onion/omega2p/Makefile create mode 100644 board/onion/omega2p/board.c create mode 100644 board/onion/omega2p/omega2p.env create mode 100644 configs/onion-omega2p_defconfig create mode 100644 include/configs/onion-omega2p.h -- 2.39.5