From patchwork Mon Feb 28 13:12:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 12763295 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA499C433F5 for ; Mon, 28 Feb 2022 13:26:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IvxjVzZUkUOVTqgEvhC7dQRVBMt8Ef6Dy+xlEtd+dzA=; b=3Zv2H/bJjp30Ji Gsh0aB/GVMKuZxphMrdbMQfQI8+CqzeQOp0ef7KGu0Gc2cSC4x/JcIaGEbnVymG2613THxIaeZduY Hb5j+mLXykbr3U10hXE83kqpj69/ZP7QtHeg6NY1awQAv+2kHtjtkwdl2zBOc9CpcWLtwK/EjBouB jGpBFiR3a4hIk7vupV8W1z1yjtoO3XgVz6gqihg+eacVUuiEbZXkBMsCj8qsHLPbEIBAWyuWHI3xX ErZLGb5zpGDA6gLNP4vElJZivv630qCAkLPp1OJWXRy/n3gkCqd9A4SAgKldYmG9rffJ+WAe6XeF3 NXCVKSa8HOfqxjeW+a9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOg1l-00CYAl-De; Mon, 28 Feb 2022 13:25:26 +0000 Received: from comms.puri.sm ([159.203.221.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOfq6-00CTQ4-Mx for linux-arm-kernel@lists.infradead.org; Mon, 28 Feb 2022 13:13:24 +0000 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 4F6DEDFE24; Mon, 28 Feb 2022 05:12:52 -0800 (PST) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xdcGnh66sa7n; Mon, 28 Feb 2022 05:12:51 -0800 (PST) From: Martin Kepplinger To: robh@kernel.org, krzysztof.kozlowski@canonical.com, shawnguo@kernel.org, festevam@gmail.com Cc: kernel@pengutronix.de, kernel@puri.sm, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Angus Ainslie , Martin Kepplinger Subject: [PATCH v1 4/5] arm64: dts: imx8mq-librem5: add a RO firmware partition Date: Mon, 28 Feb 2022 14:12:21 +0100 Message-Id: <20220228131222.917137-5-martin.kepplinger@puri.sm> In-Reply-To: <20220228131222.917137-1-martin.kepplinger@puri.sm> References: <20220228131222.917137-1-martin.kepplinger@puri.sm> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220228_051322_797394_E8456475 X-CRM114-Status: UNSURE ( 7.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Angus Ainslie This partition will hold a squashfs firmware jail. Only one read-only partition is needed. Signed-off-by: Angus Ainslie Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index a0c8191bd33c..587e55aaa57b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -325,15 +325,10 @@ partition@0 { }; partition@30000 { - label = "protected1"; - reg = <0x30000 0x10000>; + label = "firmware"; + reg = <0x30000 0x1d0000>; read-only; }; - - partition@40000 { - label = "rw"; - reg = <0x40000 0x1C0000>; - }; }; };