From patchwork Thu May 30 09:11:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 165402 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp702130ili; Thu, 30 May 2019 02:12:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzz44Cchzmb8gt1xK+Vylsy9KtUgp8GzG7TFFTAo9LRNQsWUAON0IojO+SXn0fMeap7V0IQ X-Received: by 2002:a17:902:30a3:: with SMTP id v32mr2861374plb.6.1559207524935; Thu, 30 May 2019 02:12:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559207524; cv=none; d=google.com; s=arc-20160816; b=gMpGK4yIseXh6BBhcKbNrTVVI4bGWSDa4++FZlbE8RhS7o2baQYr5KbVkckfGviMtR V77cWs3gPHGnBhekAD5hdqAF1jxSm57cH+Vfzo7aqHM/N/WBRetASWJeo6X10pnAAnOT dxG+INW04HiP/qupQmQQIaILPuzBsDti+ETA0mbdAtN7AaIN8o07IisHnKDCV505keME 22nsQ+qy0CjCvHZnYad+qA3XSNPjhMFGJY/GDEdXTx2lZMOy4km+TzlAV6Z7E0rpCZeE a1F9cGiOCaMC6fr+B0oXqjGpR0F3nKVhlckY9gpENIs7A+UDNmmnlViq98N+L09ZSd6e iKKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=XwAkk7O4jbKK1vrKeyYdZk2guCQptrkM3kGL6smdOIs=; b=B9QQEIgGSjdC+EimwuHiru6T5nV2NR+5MbvokDqtylnhckn5cUBZwpq/uZN/UbA8UL YTaxxO5oY6HIk4TO2UpwVZMlrOGzWF+YdQqs824OMnAi+M7J8gBnLrC/ZDA6COsmeVrc 8x6Yp1EMxZN65m88ZPuqCN48YcJMNxFdsuadx1mOeurz6QlHWqLkgY7Np3FzaDDmLldA zbSmnXwDVvuv4Vu4sbk7f4Jvrg8dnNL+dzeBqg52t6Nr9QEhxR06rlvPOLUJuOsz+9pO o3Qu4NSFf/AnJ0nVnneSY9uQgJrLG9PwGKG4EmpZ9jH1vkOYxsR/Ui+ByG9H2NGt4BCq MehA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 h63si2493293pjb.24.2019.05.30.02.12.04; Thu, 30 May 2019 02:12:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727209AbfE3JMD (ORCPT + 7 others); Thu, 30 May 2019 05:12:03 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:32820 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725913AbfE3JMD (ORCPT ); Thu, 30 May 2019 05:12:03 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 18D41A78; Thu, 30 May 2019 02:12:03 -0700 (PDT) Received: from usa.arm.com (e107155-lin.cambridge.arm.com [10.1.196.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D98C43F59C; Thu, 30 May 2019 02:12:01 -0700 (PDT) From: Sudeep Holla To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Sudeep Holla , Liviu Dudau , Linus Walleij , Lorenzo Pieralisi Subject: [PATCH] ARM: dts: vexpress: set the right partition type for NOR flash Date: Thu, 30 May 2019 10:11:56 +0100 Message-Id: <20190530091156.11693-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.17.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org We should set up the partitions in the right way so we will find out what is in the flash. The ARM Firmware Suite now has its own compatible and proper device tree bindings to trigger discovery of the flash contents, and Linux supports handling the new type of AFS partitions. Based on commit 7f8e78ca90e2 ("arm64: dts: juno: set the right partition type for NOR flash") Cc: Liviu Dudau Cc: Linus Walleij Cc: Lorenzo Pieralisi Signed-off-by: Sudeep Holla --- arch/arm/boot/dts/vexpress-v2m-rs1.dtsi | 3 +++ arch/arm/boot/dts/vexpress-v2m.dtsi | 3 +++ 2 files changed, 6 insertions(+) -- 2.17.1 Reviewed-by: Linus Walleij diff --git a/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi b/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi index 1b5bc536c547..d6a1fc269241 100644 --- a/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi +++ b/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi @@ -35,6 +35,9 @@ reg = <0 0x00000000 0x04000000>, <4 0x00000000 0x04000000>; bank-width = <4>; + partitions { + compatible = "arm,arm-firmware-suite"; + }; }; psram@1,00000000 { diff --git a/arch/arm/boot/dts/vexpress-v2m.dtsi b/arch/arm/boot/dts/vexpress-v2m.dtsi index 798c97aff7fa..8e57e15307e2 100644 --- a/arch/arm/boot/dts/vexpress-v2m.dtsi +++ b/arch/arm/boot/dts/vexpress-v2m.dtsi @@ -35,6 +35,9 @@ reg = <0 0x00000000 0x04000000>, <1 0x00000000 0x04000000>; bank-width = <4>; + partitions { + compatible = "arm,arm-firmware-suite"; + }; }; psram@2,00000000 {