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 AC109CD5BC9 for ; Mon, 25 May 2026 23:52:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5835684928; Tue, 26 May 2026 01:52:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=nabladev.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=nabladev.com header.i=@nabladev.com header.b="NEgG+RWK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C7BD2848BF; Tue, 26 May 2026 01:52:05 +0200 (CEST) Received: from mx.nabladev.com (mx.nabladev.com [178.251.229.89]) (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 E15988490A for ; Tue, 26 May 2026 01:52:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=nabladev.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=marex@nabladev.com Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id F07C911667D; Tue, 26 May 2026 01:52:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nabladev.com; s=dkim; t=1779753123; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=Bo7+CHbU3H9TYzwfI30ajdmsj6bk9RpTD4P5taBHk4g=; b=NEgG+RWKC0d4gTA4k0D7ceQ0UzO0C7Irb/s5P55hADWLZvG0NiUZSxZg9l/M5duBdED3HU sUhuZsleNKDm/rw2rtxyLTL7wZuGK7NlQ30wuUs5Ra5HZiL4Kji4WfYPlGOR6f7SelK03T EAjSglE1ixzzyifx/Rh/A/oOD3S8+mmKY12DLbJOZjhhEpIfeeIl/9xOdme/1MeAa6akd+ jgGp5xffR9aplIhOqaFRS20FUPC4MWuXKco7oVueZEotoPX1vJiQxtr+IHeDPT6cgr1RBp aQMBWeYymUj9i5tJBn17geOctNaHpJIf2dgQ4CQZDmfmvI/mj1scxpS+3ZShOQ== From: Marek Vasut To: u-boot@lists.denx.de Cc: Marek Vasut , "NXP i.MX U-Boot Team" , Adam Ford , Alexander Koch , Fabio Estevam , Peng Fan , Simon Glass , Tom Rini Subject: [PATCH v2 2/3] arm64: dts: imx8mm: Generate FSPI header using binman imx8mimage Date: Tue, 26 May 2026 01:51:02 +0200 Message-ID: <20260525235155.96167-2-marex@nabladev.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260525235155.96167-1-marex@nabladev.com> References: <20260525235155.96167-1-marex@nabladev.com> MIME-Version: 1.0 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 The binman imx8mimage now correctly handles generated fspi_header.bin in its imx8mimage etype. Make use of this, remove fspi_conf_block in favor of generated fspi_header.bin, and configure imx8mimage accordingly. Signed-off-by: Marek Vasut --- Cc: "NXP i.MX U-Boot Team" Cc: Adam Ford Cc: Alexander Koch Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Tom Rini Cc: u-boot@lists.denx.de --- V2: No change --- arch/arm/dts/imx8mm-u-boot.dtsi | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/arch/arm/dts/imx8mm-u-boot.dtsi b/arch/arm/dts/imx8mm-u-boot.dtsi index d891e8062fe..ab135fc8a47 100644 --- a/arch/arm/dts/imx8mm-u-boot.dtsi +++ b/arch/arm/dts/imx8mm-u-boot.dtsi @@ -50,14 +50,6 @@ section { pad-byte = <0x00>; -#ifdef CONFIG_FSPI_CONF_HEADER - fspi_conf_block { - filename = CONFIG_FSPI_CONF_FILE; - type = "blob-ext"; - size = <0x1000>; - }; -#endif - #ifdef CONFIG_IMX_HAB nxp-imx8mcst@0 { filename = "u-boot-spl-mkimage.signed.bin"; @@ -68,7 +60,12 @@ binman_imx_spl: nxp-imx8mimage { filename = "u-boot-spl-mkimage.bin"; +#ifdef CONFIG_FSPI_CONF_HEADER + nxp,boot-from = "fspi"; + nxp,fspi-header-filename = CONFIG_FSPI_CONF_FILE; +#else nxp,boot-from = "sd"; +#endif nxp,rom-version = <1>; nxp,loader-address = ; args; /* Needed by mkimage etype superclass */ -- 2.53.0