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: 546787 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EDA89C4332F for ; Mon, 28 Feb 2022 13:19:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235395AbiB1NUV (ORCPT ); Mon, 28 Feb 2022 08:20:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235306AbiB1NUT (ORCPT ); Mon, 28 Feb 2022 08:20:19 -0500 Received: from comms.puri.sm (comms.puri.sm [159.203.221.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4C5922502; Mon, 28 Feb 2022 05:19:40 -0800 (PST) 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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>; - }; }; };