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 46B88ECAAA1 for ; Mon, 24 Oct 2022 13:57:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AA8C583D1A; Mon, 24 Oct 2022 15:57:03 +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=1666619824; bh=PNARCTlk3r85CQHe9PsuufeMhXpoiMfLPUJg277KMMQ=; h=From:To:Subject:In-reply-to:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From; b=E6SDwoDaMYvy5RHcBGmMKnDN3WJTo1Z3M/SraEqD19351lUHZ7e6NGtLkYVj+2QXB bc9KJnnRgYIvpxV4HSkvcZ5eKcgs7Y13QPKfXisgmfep9au3Xhm+8ABn5hXuqKnVgW Ar/Sb0PhsJck5RKEHFYK/ILPuyKHwntF0g1jBejPFNJN1GsfwAk/FcvFi/FChOYlMz 0mKmnczEEHTJVJI3Sls9J+lLRRhurbhG9F6DDUTVj0Nx4G5gF6bZnyAcdxVejNyuGl BVwujbuYY8AA9fN6lG2Q7+yyv3L8rZOXEug0JOeqWvmh7AGGN/C2THFQuqQRisIpVv ny6YWZ1J30x2A== Received: by phobos.denx.de (Postfix, from userid 109) id 2BC9184225; Mon, 24 Oct 2022 15:55:07 +0200 (CEST) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) (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 9858E81E1F for ; Mon, 24 Oct 2022 15:54:53 +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 4MwxQf41wmz1r4pV; Mon, 24 Oct 2022 15:54:50 +0200 (CEST) Received: from localhost (dynscan3.mnet-online.de [192.168.6.84]) by mail.m-online.net (Postfix) with ESMTP id 4MwxQf3tZ9z1qqlR; Mon, 24 Oct 2022 15:54:50 +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 VX0GSjFWHiLu; Mon, 24 Oct 2022 15:54:49 +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:54:49 +0200 (CEST) From: sbabic@denx.de X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 1693306 X-Patchwork-Delegate: sbabic@denx.de To: Adam Ford ,u-boot@lists.denx.de Subject: [PATCH V2 6/7] arm: dts: imx8mn-var-som-symphony: Consolidate with imx8mn-u-boot In-reply-to: <20221022005837.170357-7-aford173@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Message-Id: <20221024135507.2BC9184225@phobos.denx.de> Date: Mon, 24 Oct 2022 15:54:54 +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-var-som-symphony-u-boot.dtsi b/arch/arm/dt= s/imx8mn-var-som-symphony-u-boot.dtsi > index ed1ab10ded..a20683155c 100644 > --- a/arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi > +++ b/arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi > @@ -3,22 +3,7 @@ > * Copyright 2021 Collabora Ltd. > */ > =20 > -/ { > - binman: binman { > - multiple-images; > - }; > - > - wdt-reboot { > - compatible =3D "wdt-reboot"; > - wdt =3D <&wdog1>; > - u-boot,dm-spl; > - }; > -}; > - > -&{/soc@0} { > - u-boot,dm-pre-reloc; > - u-boot,dm-spl; > -}; > +#include "imx8mn-u-boot.dtsi" > =20 > &{/soc@0/bus@30800000/i2c@30a20000/pmic@4b} { > u-boot,dm-spl; > @@ -28,27 +13,6 @@ > u-boot,dm-spl; > }; > =20 > -&aips1 { > - u-boot,dm-pre-reloc; > - u-boot,dm-spl; > -}; > - > -&aips3 { > - u-boot,dm-spl; > -}; > - > -&aips4 { > - u-boot,dm-spl; > -}; > - > -&clk { > - u-boot,dm-pre-reloc; > - u-boot,dm-spl; > - /delete-property/ assigned-clocks; > - /delete-property/ assigned-clock-parents; > - /delete-property/ assigned-clock-rates; > -}; > - > &gpio1 { > u-boot,dm-spl; > }; > @@ -65,15 +29,6 @@ > u-boot,dm-spl; > }; > =20 > -&iomuxc { > - u-boot,dm-spl; > -}; > - > -&osc_24m { > - u-boot,dm-pre-reloc; > - u-boot,dm-spl; > -}; > - > &pinctrl_i2c1 { > u-boot,dm-spl; > }; > @@ -113,144 +68,3 @@ > &usdhc3 { > u-boot,dm-spl; > }; > - > -&wdog1 { > - u-boot,dm-spl; > -}; > - > -&binman { > - u-boot-spl-ddr { > - align =3D <4>; > - align-size =3D <4>; > - filename =3D "u-boot-spl-ddr.bin"; > - pad-byte =3D <0xff>; > - > - u-boot-spl { > - align-end =3D <4>; > - filename =3D "u-boot-spl.bin"; > - }; > - > - ddr-1d-imem-fw { > - filename =3D "ddr4_imem_1d.bin"; > - align-end =3D <4>; > - type =3D "blob-ext"; > - }; > - > - ddr-1d-dmem-fw { > - filename =3D "ddr4_dmem_1d.bin"; > - align-end =3D <4>; > - type =3D "blob-ext"; > - }; > - > - ddr-2d-imem-fw { > - filename =3D "ddr4_imem_2d.bin"; > - align-end =3D <4>; > - type =3D "blob-ext"; > - }; > - > - ddr-2d-dmem-fw { > - filename =3D "ddr4_dmem_2d.bin"; > - align-end =3D <4>; > - type =3D "blob-ext"; > - }; > - }; > - > - 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"; > - fit,external-offset =3D ; > - fit,fdt-list =3D "of-list"; > - #address-cells =3D <1>; > - > - images { > - uboot { > - arch =3D "arm64"; > - compression =3D "none"; > - description =3D "U-Boot (64-bit)"; > - load =3D ; > - type =3D "standalone"; > - > - uboot_blob { > - filename =3D "u-boot-nodtb.bin"; > - type =3D "blob-ext"; > - }; > - }; > - > - atf { > - arch =3D "arm64"; > - compression =3D "none"; > - description =3D "ARM Trusted Firmware"; > - entry =3D <0x960000>; > - load =3D <0x960000>; > - type =3D "firmware"; > - > - atf_blob { > - filename =3D "bl31.bin"; > - type =3D "atf-bl31"; > - }; > - }; > - > - binman_fip: fip { > - arch =3D "arm64"; > - compression =3D "none"; > - description =3D "Trusted Firmware FIP"; > - load =3D <0x40310000>; > - type =3D "firmware"; > - }; > - > - @fdt-SEQ { > - compression =3D "none"; > - description =3D "NAME"; > - type =3D "flat_dt"; > - > - uboot_fdt_blob { > - filename =3D "u-boot.dtb"; > - type =3D "blob-ext"; > - }; > - }; > - }; > - > - configurations { > - default =3D "@config-DEFAULT-SEQ"; > - > - binman_configuration: @config-SEQ { > - description =3D "NAME"; > - fdt =3D "fdt-SEQ"; > - firmware =3D "uboot"; > - loadables =3D "atf"; > - }; > - }; > - }; > - }; > - > - imx-boot { > - filename =3D "flash.bin"; > - pad-byte =3D <0x00>; > - > - spl { > - filename =3D "spl.bin"; > - offset =3D <0x0>; > - type =3D "blob-ext"; > - }; > - > - binman_uboot: uboot { > - filename =3D "u-boot.itb"; > - offset =3D <0x58000>; > - type =3D "blob-ext"; > - }; > - }; > -}; 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