From patchwork Tue May 22 12:02:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10418279 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EBF856053B for ; Tue, 22 May 2018 12:03:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC506205A8 for ; Tue, 22 May 2018 12:03:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D0FF224603; Tue, 22 May 2018 12:03:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57AF7205A8 for ; Tue, 22 May 2018 12:03:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751236AbeEVMDM (ORCPT ); Tue, 22 May 2018 08:03:12 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:50686 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751214AbeEVMDL (ORCPT ); Tue, 22 May 2018 08:03:11 -0400 Received: by mail-wm0-f67.google.com with SMTP id t11-v6so31285510wmt.0; Tue, 22 May 2018 05:03:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tlzqoC8qe2Rx4ZQs/TH1UpvoDI/t7zto5cQKUu/IJ1Q=; b=pnwVh/XcEiOyMaToRG1wTAFOlP3Q0pT+BIe3ieEkxuhmfoo0Fumh5Wmhoi09Ls0uAc c1cNsEdoTfkaRzqu84D0rn0faWUG6v4MZu4NbR1fd7sQOoV4zKqCiZ8bSizESrPffAP7 /AbkqbGJRx7i1J6AcdyGPjD3ABcHp5mCUMd0i7Y+AcT/T1CZA50J1EJhWD/jfn7uZlFI 0Cq1u9XpjxAZ3OrhYglzOXxe2gTEPTnHtqkajzQbxk7eXT0zPdqsSd+FYxxMGNqcNdNm 67A4ANs0cckkv1zPyLPjyGoiTFTDOLTojZefyg/g8xITjAXaaUUSjK9oee4HoUZbq49R n6yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tlzqoC8qe2Rx4ZQs/TH1UpvoDI/t7zto5cQKUu/IJ1Q=; b=D+MHcNb2ViN4hQwJJwmdfwnaPdxFEGjntpMUaHhKWklju2KWwGghgJriwQTp2MgTHM K5KSXc7hCBGTamk4LoL5HqzJDlX2aK8JkoH4+9YRWemSUNl3FLSBjohGksvZBt72XIJI ztzJObPEdVT8lokdC6BRhRo+nflUgR1lvMkINqSR0calIeJsdc9bfhx66RVi7apJyoZK ex+npgg1XAJGwCIBLOjyw3lquKmSLTIMTcejpGjKlXfHn0y9sTmrHX5smKu5tvdZOl0v O98tTkR69YptTC//KKHjnB2BGuVjyyEEnizdc9WwfrQ3SRuDe9JzrhSsqsRdjYmQ2UoA Myqw== X-Gm-Message-State: ALKqPwdQ/xjGFxpA5RWzbgk6dlrGiDrwrvd4AddzZNgqh0Y2R55dcUII 4R08qyVyvpOv36EfKNLwoP8= X-Google-Smtp-Source: AB8JxZrQ5IMB4D7OF8DAA4mRtegzk+pOieZQIigCeJ48abseu9N2zkZfLcLIBLOF/EQCvYUp46kzzQ== X-Received: by 2002:a1c:5d4f:: with SMTP id r76-v6mr961923wmb.55.1526990590476; Tue, 22 May 2018 05:03:10 -0700 (PDT) Received: from kurokawa.lan (ip-86-49-107-50.net.upcbroadband.cz. [86.49.107.50]) by smtp.gmail.com with ESMTPSA id v196-v6sm13042370wmf.36.2018.05.22.05.03.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 05:03:09 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org, Marek Vasut , Geert Uytterhoeven , Laurent Pinchart , Simon Horman , Wolfram Sang , linux-renesas-soc@vger.kernel.org Subject: [PATCH 2/9] ARM: dts: lager: Drop MTD partitioning from DT Date: Tue, 22 May 2018 14:02:50 +0200 Message-Id: <20180522120257.13232-2-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180522120257.13232-1-marek.vasut+renesas@gmail.com> References: <20180522120257.13232-1-marek.vasut+renesas@gmail.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Drop the MTD partitioning from DT, since it does not describe HW and to give way to a more flexible kernel command line partition passing. To retain the original partitioning, assure you have enabled CONFIG_MTD_CMDLINE_PARTS in your kernel config and add the following to your kernel command line: mtdparts=spi0.0:256k@0(loader),4096k(user),-(flash) Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Laurent Pinchart Cc: Simon Horman Cc: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org Acked-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7790-lager.dts | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index 092610e3f953..7c95e62efd46 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -710,27 +710,6 @@ spi-cpha; spi-cpol; m25p,fast-read; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "loader"; - reg = <0x00000000 0x00040000>; - read-only; - }; - partition@40000 { - label = "user"; - reg = <0x00040000 0x00400000>; - read-only; - }; - partition@440000 { - label = "flash"; - reg = <0x00440000 0x03bc0000>; - }; - }; }; };