Received: by 10.223.164.202 with SMTP id h10csp3334547wrb; Tue, 28 Nov 2017 09:38:35 -0800 (PST) X-Google-Smtp-Source: AGs4zMbhB2EGRdLxgsz9Xz75Z3Jj5Gd2ZEYI0K+i5UUnAN0eFVvpX8+BaAPXzhsdVQow+A5SeNZm X-Received: by 10.84.244.9 with SMTP id g9mr32400614pll.192.1511890715635; Tue, 28 Nov 2017 09:38:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511890715; cv=none; d=google.com; s=arc-20160816; b=tlZC5w7OTMO7G+QyLj9yzT3sj1RWBcAM6gwIpXcSSwdwVa74yNgiFlP17ePW9zMP7z 2RjRmxwR9OU8U004z0RWOclYZa8gJbBQaDJYqO79KANUFwyQpHDuex3sqzJnjHzM74Rt Dq1NnoUfhddGk76g/K16zEgFHFZjuucjFSG6DYzt0ufUDLznmgK7suzDo9vQqnJjYf1R M2cldawoT9bm2eoYD76+tcRNjeuKRJF1g20g08O+9INeSvguq9Dj5HbUP8tSp6rUxRRb ADvrtKzjUvQQDqjUz4T/c2pHM8iqF8tILB6bVMPm6gXIeyyiXnf7r/R9J85aexG5kRw8 EQxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:references :in-reply-to:mime-version:from:dkim-signature :arc-authentication-results; bh=HLeJt9tTCCCG7pV3CtQJNKbDDpfrBBANgfpqrRWSqx4=; b=g1SI2/zyfOlVa0/rJHfDJUbgeeH+4lIhe5ETROg+ThjVS2k/Z00x3IR3NefhVnk6kQ FqWtSfAdJB5PA/l8Uf2Xb3CyMSsmZlPxwUPmgwGe1I+7jr7Rfusvgwj0X8EPl6ZNfWbr Yixq9qXk79mr1W3hDk9yeGAmdd3wdNYs8zzj2cavLPgP1UfVmllJpUQzIrSpq8Js+j5r MgSVR7pB2/DHhXQ2ll81qEo38urzpz/H77DBGQkbDlYWlVUsi4epXnFaWlt+QqYPTqnH DaviVU0prjrYOsZl4U6m/+XXK9/lmg+FjFbnPBs4QxBg8ctNS2L+cMs3F36stk6h7Yod YdfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ossystems-com-br.20150623.gappssmtp.com header.s=20150623 header.b=hdnc4xF7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34si25584174plm.154.2017.11.28.09.38.24; Tue, 28 Nov 2017 09:38:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ossystems-com-br.20150623.gappssmtp.com header.s=20150623 header.b=hdnc4xF7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753930AbdK1RhJ (ORCPT + 78 others); Tue, 28 Nov 2017 12:37:09 -0500 Received: from mail-oi0-f41.google.com ([209.85.218.41]:38257 "EHLO mail-oi0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753608AbdK1RhG (ORCPT ); Tue, 28 Nov 2017 12:37:06 -0500 Received: by mail-oi0-f41.google.com with SMTP id s9so468979oie.5 for ; Tue, 28 Nov 2017 09:37:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ossystems-com-br.20150623.gappssmtp.com; s=20150623; h=from:mime-version:in-reply-to:references:date:message-id:subject:to :cc; bh=HLeJt9tTCCCG7pV3CtQJNKbDDpfrBBANgfpqrRWSqx4=; b=hdnc4xF7uUgyZPJqOMYj3CzP+ouYFl7zUOeZ+OlgIR4ft+8KksQ/RQLZ7WiSno28S1 PSoZVcE2gbjpU+IY9h4e6QvdbUl3lnGD1I+gyGDI5UKU1ngp/ADr09ZfAcS81OHiDrL6 iSikBg5xtGgonKrFLW/fkqNhtOTI3cf0kmt09kdK1mqTAQBxkMEvuoQHR0VrDqGhVXf9 XR3Bym00PM/evUzOuLaauj6fGw6d8yuB5Ve8Icp3ryGxp3poI47OWLhcoAxIYwxpvFZ/ AmgGgudSzXcdUfbUmKYTvJqrYDJTUJC4lLbrxi96ZGDBQMw/Jvd49uhvxAF+zX4Rlx0h m2rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:in-reply-to:references:date :message-id:subject:to:cc; bh=HLeJt9tTCCCG7pV3CtQJNKbDDpfrBBANgfpqrRWSqx4=; b=LAz8EI41V+/PM0zKq0IysohySq9IPmn/B+FI7NkQ41fg3tLMkZtiU878XbILEGZrpD WmnRYXhVaFFjafUk9A84AhpwwjI2oa7/YDq0ykMnQDvYXVLCjUzqlU9fjnuoHeXozT/W 0anIb9uOrcyBzT8Mnfmbs8h/kNovA/PJcyf1EV63Zv9E/ovoylGKpkezkbAsRNDr4fQ5 0S5X2qS9O4En5UJwYGbhbMLYZYfG9xnIzWXUx00g5Ogyt/BYUmggU+z7u6cToF9YTpJ/ drxayNeo2vedoLMlbKQnFRNUqJ96HFJcGTp2bjT4m2aWPHOh4jH3SMKCSlOkNEaQdT9D Zjxg== X-Gm-Message-State: AJaThX42CcrncfXXNqqsmUk1cpiRRzp6tn85fiZp9ZjsIis5GVZl/JbK wOIYfg2APx7Y8BaO+PdFJghWIA== X-Received: by 10.202.90.196 with SMTP id o187mr20780319oib.72.1511890625648; Tue, 28 Nov 2017 09:37:05 -0800 (PST) Received: from mail-ot0-f169.google.com (mail-ot0-f169.google.com. [74.125.82.169]) by smtp.gmail.com with ESMTPSA id w12sm12971671otg.49.2017.11.28.09.37.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Nov 2017 09:37:04 -0800 (PST) From: Otavio Salvador X-Google-Original-From: Otavio Salvador Received: by mail-ot0-f169.google.com with SMTP id s4so590083ote.4; Tue, 28 Nov 2017 09:37:03 -0800 (PST) X-Received: by 10.157.65.213 with SMTP id v21mr31316545oti.392.1511890623545; Tue, 28 Nov 2017 09:37:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.17.210 with HTTP; Tue, 28 Nov 2017 09:37:02 -0800 (PST) In-Reply-To: References: <20171127133127.16985-1-otavio@ossystems.com.br> Date: Tue, 28 Nov 2017 15:37:02 -0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3] ARM: dts: imx6qdl-nitrogen6x: Add SPI NOR partitions To: Fabio Estevam Cc: Otavio Salvador , Mark Rutland , "devicetree@vger.kernel.org" , linux-kernel , Russell King , Gary Bisson , Rob Herring , Sascha Hauer , Fabio Estevam , Shawn Guo , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Fabio, On Mon, Nov 27, 2017 at 2:17 PM, Fabio Estevam wrote: > On Mon, Nov 27, 2017 at 11:31 AM, Otavio Salvador > wrote: >> This adds the partitions definition for the SPI NOR to provide >> backward compatibility with the documented[1] layout used with >> Boundary Devices BSP. >> >> 1. https://boundarydevices.com/boot-flash-access-linux/ >> >> It exports to Linux: >> >> mtd0: bootloader >> mtd1: env >> mtd2: splash >> >> Signed-off-by: Otavio Salvador > > Has this been tested? I mean, have you tested the locking mechanism is > really working in this SPI NOR flash? Yes, we tested it here using Linux 4.14 but didn't notice this SPI NOR does not support the lock. > As far as I can see the SPI locking mechanism does not need device > tree properties. Humm it is confusing, at least for me that am not used to the this. In any case, I think for now it is better to include the partitions without read-only and lock as it is convenient to have access to it from Linux so we adhere the same partition layout used in Boundary's Linux fork. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 From 1585236719329644593@xxx Mon Nov 27 16:19:04 +0000 2017 X-GM-THRID: 1585226251949913147 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread