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 08ABEECAAA1 for ; Mon, 24 Oct 2022 13:57:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B986883EB9; Mon, 24 Oct 2022 15:57:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (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=1666619849; bh=5SfKEvlX1pMnRHNsUnoirm3Kmob2IIpDThwn5u3MUvc=; h=From:To:Subject:In-reply-to:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From; b=Icjdyx0wsxMA+OFe1OD1F1PrXgfnSy6Z11CWyI/cPHkTBAKzl+y7izCAC+UqK5cgI xM89Y+NuNYh2Mgy/SaFvMgLEvg/7Ai8BeO8n1haOHsJg1L444E7hYH+N7KvmO/huFc HZcX1hCav5gnXZtqQgK5Z7t/OzBnfgDgWDdKX4H4A8zrsjBMpERDlsHnxVZ/7ZHo5N o2+ZoSS9/ortRX/FLmSeKL4EBH/3eIl+ai1ZlvGR/5wt0fjfKgqQGgoZ2L72LHUXy0 HuUM/OZ/75R4Se1WF6tgjQiUA9GCjLS2uR5j+rP9kj9XGJ/WWHuibr55QqRws7d/5j /wyhLT/AEvylA== Received: by phobos.denx.de (Postfix, from userid 109) id 95B0881E0F; Mon, 24 Oct 2022 15:55:20 +0200 (CEST) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 96425838D9 for ; Mon, 24 Oct 2022 15:55:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sbabic@denx.de Received: from frontend03.mail.m-online.net (unknown [192.168.6.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4MwxQt1nr1z1s946; Mon, 24 Oct 2022 15:55:02 +0200 (CEST) Received: from localhost (dynscan3.mnet-online.de [192.168.6.84]) by mail.m-online.net (Postfix) with ESMTP id 4MwxQt1fxjz1qqlR; Mon, 24 Oct 2022 15:55:02 +0200 (CEST) X-Amavis-Alert: BAD HEADER SECTION, Missing required header field: "Date" Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan3.mail.m-online.net [192.168.6.84]) (amavisd-new, port 10024) with ESMTP id A2qRcr8Ogc9m; Mon, 24 Oct 2022 15:55:01 +0200 (CEST) Received: from papero (host-88-217-136-221.customer.m-online.net [88.217.136.221]) by mail.mnet-online.de (Postfix) with ESMTP; Mon, 24 Oct 2022 15:55:01 +0200 (CEST) From: sbabic@denx.de X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 1693304 X-Patchwork-Delegate: sbabic@denx.de To: Adam Ford ,u-boot@lists.denx.de Subject: [PATCH V2 4/7] arm: dts: imx8mn-ddr4-evk: Consolidate with imx8mn-u-boot In-reply-to: <20221022005837.170357-5-aford173@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Message-Id: <20221024135520.95B0881E0F@phobos.denx.de> Date: Mon, 24 Oct 2022 15:55:06 +0200 (CEST) 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.6 at phobos.denx.de X-Virus-Status: Clean > Now that a unified imx8mn-u-boot is available, remove duplicated > code for generating flash.bin and other common imx8mn peripherals. > Signed-off-by: Adam Ford > diff --git a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi b/arch/arm/dts/imx8mn= -ddr4-evk-u-boot.dtsi > index 3fdb20cb35..54f3ebe88b 100644 > --- a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi > +++ b/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi > @@ -3,66 +3,7 @@ > * Copyright 2019, 2021 NXP > */ > =20 > -/ { > - binman: binman { > - multiple-images; > - }; > - > - wdt-reboot { > - compatible =3D "wdt-reboot"; > - wdt =3D <&wdog1>; > - u-boot,dm-spl; > - }; > - firmware { > - optee { > - compatible =3D "linaro,optee-tz"; > - method =3D "smc"; > - }; > - }; > -}; > - > -&{/soc@0} { > - u-boot,dm-pre-reloc; > - u-boot,dm-spl; > -}; > - > -&spba1 { > - u-boot,dm-spl; > -}; > - > -&spba1 { > - u-boot,dm-spl; > -}; > - > -&clk { > - u-boot,dm-spl; > - u-boot,dm-pre-reloc; > - /delete-property/ assigned-clocks; > - /delete-property/ assigned-clock-parents; > - /delete-property/ assigned-clock-rates; > -}; > - > -&osc_24m { > - u-boot,dm-spl; > - u-boot,dm-pre-reloc; > -}; > - > -&aips1 { > - u-boot,dm-spl; > - u-boot,dm-pre-reloc; > -}; > - > -&aips2 { > - u-boot,dm-spl; > -}; > - > -&aips3 { > - u-boot,dm-spl; > -}; > - > -&iomuxc { > - u-boot,dm-spl; > -}; > +#include "imx8mn-u-boot.dtsi" > =20 > &pinctrl_reg_usdhc2_vmmc { > u-boot,dm-spl; > @@ -147,130 +88,3 @@ > mmc-hs400-1_8v; > mmc-hs400-enhanced-strobe; > }; > - > -&wdog1 { > - u-boot,dm-spl; > -}; > - > -&binman { > - u-boot-spl-ddr { > - filename =3D "u-boot-spl-ddr.bin"; > - pad-byte =3D <0xff>; > - align-size =3D <4>; > - align =3D <4>; > - > - u-boot-spl { > - align-end =3D <4>; > - }; > - > - ddr-1d-imem-fw { > - filename =3D "ddr4_imem_1d_201810.bin"; > - type =3D "blob-ext"; > - align-end =3D <4>; > - }; > - > - ddr-1d-dmem-fw { > - filename =3D "ddr4_dmem_1d_201810.bin"; > - type =3D "blob-ext"; > - align-end =3D <4>; > - }; > - > - ddr-2d-imem-fw { > - filename =3D "ddr4_imem_2d_201810.bin"; > - type =3D "blob-ext"; > - align-end =3D <4>; > - }; > - > - ddr-2d-dmem-fw { > - filename =3D "ddr4_dmem_2d_201810.bin"; > - type =3D "blob-ext"; > - align-end =3D <4>; > - }; > - }; > - > - > - spl { > - filename =3D "spl.bin"; > - > - mkimage { > - args =3D "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000"; > - > - blob { > - filename =3D "u-boot-spl-ddr.bin"; > - }; > - }; > - }; > - > - itb { > - filename =3D "u-boot.itb"; > - > - fit { > - description =3D "Configuration to load ATF before U-Boot"; > - #address-cells =3D <1>; > - fit,external-offset =3D ; > - > - images { > - uboot { > - description =3D "U-Boot (64-bit)"; > - type =3D "standalone"; > - arch =3D "arm64"; > - compression =3D "none"; > - load =3D ; > - > - uboot_blob: blob-ext { > - filename =3D "u-boot-nodtb.bin"; > - }; > - }; > - > - atf { > - description =3D "ARM Trusted Firmware"; > - type =3D "firmware"; > - arch =3D "arm64"; > - compression =3D "none"; > - load =3D <0x960000>; > - entry =3D <0x960000>; > - > - atf_blob: blob-ext { > - filename =3D "bl31.bin"; > - }; > - }; > - > - fdt { > - description =3D "NAME"; > - type =3D "flat_dt"; > - compression =3D "none"; > - > - uboot_fdt_blob: blob-ext { > - filename =3D "u-boot.dtb"; > - }; > - }; > - }; > - > - configurations { > - default =3D "conf"; > - > - conf { > - description =3D "NAME"; > - firmware =3D "uboot"; > - loadables =3D "atf"; > - fdt =3D "fdt"; > - }; > - }; > - }; > - }; > - > - imx-boot { > - filename =3D "flash.bin"; > - pad-byte =3D <0x00>; > - > - spl: blob-ext@1 { > - offset =3D <0x0>; > - filename =3D "spl.bin"; > - }; > - > - uboot: blob-ext@2 { > - offset =3D <0x58000>; > - filename =3D "u-boot.itb"; > - }; > - }; > -}; Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D