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 X-Spam-Level: X-Spam-Status: No, score=-14.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D263BC433DB for ; Mon, 8 Feb 2021 14:22:57 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 56B1964E6C for ; Mon, 8 Feb 2021 14:22:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 56B1964E6C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qaYjbKD6zlDCRlJFwJTxhnx9uOsiycU89c2wCbNzRpU=; b=1iEVcCBWkCnMEWc99DF0HKSch 4dsiRIYT1I6RGOS5OOKfS/T0k5snnNyIcrXRIqjl3wiAprLARaph6mCfTb6KCy3WGn3feKX+8pbUK 4liTUGYiVU4hgk340Cj+G7LEEvY+NCqk3IbVdvn2Z1xKeSJW0tDagbEMTRVIASmzN6AU9UX0OQIZs XBLPa9Qkiz60mv39xZcOnySoMBmI9UuLEshaUDvM69eJJ6r6zU62kJWph5HhODrEIL/8t4ibd0pcu h1YLLzM1KNjZFQYLwOly6HIQsCUOA8WTn/ngBivE25ETthyGy8rOCR6wTys7aqkVf7+QFLJeUwd+p bcxQM2yTA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l97PD-0003Nv-L8; Mon, 08 Feb 2021 14:20:47 +0000 Received: from mail-ed1-f54.google.com ([209.85.208.54]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l97Eb-0005vm-EU for linux-arm-kernel@lists.infradead.org; Mon, 08 Feb 2021 14:09:50 +0000 Received: by mail-ed1-f54.google.com with SMTP id c6so18268163ede.0 for ; Mon, 08 Feb 2021 06:09:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=dpsm0bZ/m5A29PuyUa9YgWYc5KvB/3XFGrUZ84aiJKo=; b=rHbqHj5D/yjyFD+beZRy1xlCE7f7d3J/Qs3E4tgEhxz88CssjQZswFNtc529c6OuJe z062pSMHXtFqEdR0LBi5V0lLZGxGH1FTry2vgHE1VXGE3ud7HSwW4apcfRpVNU1WRn5N R7FsuVwWi4cii4P6aWMx/mQSrJ8hRw87+UplfWNaxFHm5V9ObeKHTxyTV/sC+LWIctx6 jRzYN3mN9iLZfcF38wnT3IR0Fu0ffHACImn781SuX+wnfgNkMWKlVTzIRVGM8rJKlGSU DTDerjcJjPahFsIPo2e4AWhTV9n/2QQWyHmQ1Rh87gXsRTRvYfR5avscfTfroDeXNzaV ngYg== X-Gm-Message-State: AOAM530YV5VoFZnVhqNAUg57PrsD/WLDP0stmrApA0Y4L9t0YlU4XelM M4Hne9FIfPpbguhbztkGRd/92XsVnPs= X-Google-Smtp-Source: ABdhPJxJgjyUVcgZee6nEDFRRuYlz/OidRSQugEVbVNByIwI8706zUs9/SHjl4cdx+kipf9ri78zmQ== X-Received: by 2002:aa7:ce96:: with SMTP id y22mr17236639edv.369.1612793386884; Mon, 08 Feb 2021 06:09:46 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id hy24sm8230648ejc.40.2021.02.08.06.09.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Feb 2021 06:09:44 -0800 (PST) Date: Mon, 8 Feb 2021 15:09:43 +0100 From: Krzysztof Kozlowski To: Martin Kepplinger Subject: Re: [PATCH 4/5] arm64: dts: librem5: protect some partitions of the nor-flash Message-ID: <20210208140943.6dewq4b3dmaxh7ia@kozik-lap> References: <20210208131527.24463-1-martin.kepplinger@puri.sm> <20210208131527.24463-5-martin.kepplinger@puri.sm> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210208131527.24463-5-martin.kepplinger@puri.sm> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210208_090949_638696_A46CAEB5 X-CRM114-Status: GOOD ( 16.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: robh@kernel.org, kernel@puri.sm, devicetree@vger.kernel.org, shawnguo@kernel.org, Angus Ainslie , linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Feb 08, 2021 at 02:15:26PM +0100, Martin Kepplinger wrote: > From: Angus Ainslie > > These sections should be read only as they contain important data. > > Signed-off-by: Angus Ainslie > Signed-off-by: Martin Kepplinger > --- > .../arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi > index c2bbbdeb93e3..9867e2a50008 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi > @@ -258,6 +258,22 @@ > compatible = "jedec,spi-nor"; > reg = <0>; > spi-max-frequency = <1000000>; > + #address-cells = <1>; > + #size-cells = <1>; One empty line here. > + partition@0x00000000 { Wrong unit names. Compile dtses with W=1. > + label = "protected0"; > + reg = <0x00000000 0x00030000>; Get rid of leading 0000 - it makes it less readable. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel