From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EAF95C87FCB for ; Wed, 30 Jul 2025 12:38:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 04A2080C93; Wed, 30 Jul 2025 14:38:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1753879135; bh=VomDLmjss5S8kHH77svzEUmSs9EeAqUs86vxsuWJpVw=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=qtDkxtRnPxb9pIhAirm367l19ge7RwTghwMJxpUw2QHvk5Rrr6Y8awVUPq4/multr dLH2ZgO9eRyTYDtp5wGo4U8GTRcuA1TQcXT0HkL2MWdLfTSMK7IeHXWgj6A29MTm6r HgCCOTlUZntjnbIbWIXgMAc8QA7xSKGyxibxB09T3vEevmiCiyEizOmYt40FntGAOP L2CtUcPfcp5imp6rL7PrRQLSxMosf5z+EoGoGlqodyVG5aWDelmkyEVqyo5sYBa+Iq U7D5BKMl17jFvLMXZg+rH89m0adMsqe+cnfyUL+ewL8GK1OdsU7X8nh7Cb7RaKvu89 1JJzJXqC/vHRg== Received: by phobos.denx.de (Postfix, from userid 109) id 76AF880FA1; Wed, 30 Jul 2025 14:38:53 +0200 (CEST) Received: from mx.denx.de (mx.denx.de [89.58.32.78]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8AD068004F for ; Wed, 30 Jul 2025 14:38:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pro@denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.b="eJqOpqix"; dkim-atps=neutral Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 928601038C126; Wed, 30 Jul 2025 14:38:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=mx-20241105; t=1753879130; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding; bh=VomDLmjss5S8kHH77svzEUmSs9EeAqUs86vxsuWJpVw=; b=eJqOpqixusnysvCRV7lYE+BjCbbad9ERcdRm8bIrSGgceJ5jhBNmcrBszP7QCWNBjv/d5K 1Tri4HVV/Bm3Gp31MsPmahq3SehmAGOS8ccsITeQWCFWDirAxWy30M5y6IDQY7B6eGeUl1 zfOgat0h93tzbGrllGCW4KYHIynEyk/r5GRg9Kn7HC8hXug14phluM4dUPvBfAKysgxZ9E 1sKD3BmSBFcm12ziuWQ5C+IwSDf037Lrno1oQAhPaXYAAgs9KfCM3f9gnd9OMlhgYJQ5DB 03Mo7x2FitCGbfZDAyKFDzOf6iB4CybyeBAF1UWKMlAHD9Z01uHa5T12A9NVyw== From: Philip Oberfichtner To: u-boot@lists.denx.de Cc: Philip Oberfichtner , Anshul Dalal , Daniel Schwierzeck , Dario Binacchi , Greg Malysa , GSS_MTK_Uboot_upstream , Ilias Apalodimas , Jerome Forissier , Jiaxun Yang , Marek Vasut , Nathan Barrett-Morrison , Paul Kocialkowski , Peng Fan , Peter Robinson , Simon Glass , Stefan Roese , Sumit Garg , Tom Rini , Weijie Gao Subject: [PATCH v5 0/4] Add Onion Omega2/2+ board support Date: Wed, 30 Jul 2025 14:38:29 +0200 Message-Id: <20250730123833.249923-1-pro@denx.de> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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