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 69DBDC19F28 for ; Wed, 3 Aug 2022 11:21:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2E5D484038; Wed, 3 Aug 2022 13:21:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org 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=kernel.org header.i=@kernel.org header.b="p3NqrB4R"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1E0128451A; Wed, 3 Aug 2022 13:21:06 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (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 780F1828FD for ; Wed, 3 Aug 2022 13:21:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5464661008; Wed, 3 Aug 2022 11:21:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9166AC433D6; Wed, 3 Aug 2022 11:21:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659525661; bh=74R8gYjLbrLN1oE7Khpj1HhEj9E6jpSc7Hf7KY+MDl4=; h=From:To:Cc:Subject:Date:From; b=p3NqrB4Ry8d9jOeh2EfO+Vf7Fd77wqlHRw/d+RgEFxBwhBUQEqML8um5qvmFOAkCf IsgjabvSQRKWser6kM+uBH5CO7nFCXcsQOeaIdCjoJJ4yvQxovv76tzkpXDu9ONNQ0 ZJxyLvcpzmcaDI1Vp58FS1o+SsgV+SmkqHLSXwVdLvPP8FtAM6A8ySG/YrWq3aJuoN PXlH06JE3uoriGE1YN6spgUseYqhamdFjjriIsCzPX8NamwigYYWtcSzRzFmEed5tQ F8VClYgg9hq71vF7JAhITh+zD5ki9K3ER3wuxxO6fgfMt99MAFXidMduKS7y49QWDq yFJOl6unbD8IQ== Received: by pali.im (Postfix) id A200A82E; Wed, 3 Aug 2022 13:20:58 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Niel Fourie , Wolfgang Denk Cc: u-boot@lists.denx.de Subject: [PATCH] powerpc: dts: keymile: Deduplicate binman code Date: Wed, 3 Aug 2022 13:20:49 +0200 Message-Id: <20220803112049.4287-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 kmcent2-u-boot.dtsi file contains copy of powerpc u-boot.dtsi binman file. So remove code duplication and replace it by including u-boot.dtsi file. Signed-off-by: Pali Rohár --- arch/powerpc/dts/kmcent2-u-boot.dtsi | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/arch/powerpc/dts/kmcent2-u-boot.dtsi b/arch/powerpc/dts/kmcent2-u-boot.dtsi index ab76a9f1226c..d0277627644b 100644 --- a/arch/powerpc/dts/kmcent2-u-boot.dtsi +++ b/arch/powerpc/dts/kmcent2-u-boot.dtsi @@ -74,24 +74,6 @@ compatible = "fsl,pcie-t104x"; law_trgt_if = <0>; }; - - binman { - filename = "u-boot-with-dtb.bin"; - skip-at-start = ; - sort-by-offset; - pad-byte = <0xff>; - size = ; - - u-boot-with-ucode-ptr { - offset = ; - optional-ucode; - }; - - u-boot-dtb-with-ucode { - align = <256>; - }; - powerpc-mpc85xx-bootpg-resetvec { - offset = <(CONFIG_RESET_VECTOR_ADDRESS - 0xffc)>; - }; - }; }; + +#include "u-boot.dtsi" -- 2.20.1