Add support for the MediaTek based boards by Onion. Commit one to three are rather generic, whereas the last commit adds the actual board support.
Changes in v5: - Reimplement the Makefile size check Changes in v4: - Rebase board support to v2025.07 - Add new commit to silence warning in arch/mips/ Changes in v3: - Simplify image size check Changes in v2: - I forgot to run checkpatch in v1. Fix some style issues in v2. Philip Oberfichtner (4): Makefile: Simplify size check Makefile: Add size check for u-boot-with-spl.bin mips: serial: Silence "unused variable" warning mips: mt7628: Add Onion Omega2/2+ board support Makefile | 45 ++------ arch/mips/dts/Makefile | 1 + arch/mips/dts/onion-omega2p.dts | 58 ++++++++++ arch/mips/mach-mtmips/mt7620/serial.c | 2 +- arch/mips/mach-mtmips/mt7621/spl/serial.c | 2 +- arch/mips/mach-mtmips/mt7628/Kconfig | 7 ++ arch/mips/mach-mtmips/mt7628/serial.c | 2 +- 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 | 32 ++++++ common/spl/Kconfig | 7 ++ configs/onion-omega2p_defconfig | 82 +++++++++++++ include/configs/onion-omega2p.h | 15 +++ tools/spl_size_limit.c | 2 +- 16 files changed, 376 insertions(+), 38 deletions(-) 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