From patchwork Wed May 30 10:12:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10438337 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 10F63601E9 for ; Wed, 30 May 2018 10:12:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3023288ED for ; Wed, 30 May 2018 10:12:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E77AD288F1; Wed, 30 May 2018 10:12:56 +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=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 41E87288ED for ; Wed, 30 May 2018 10:12:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=hTHW/tYHXdp3c2S7sMrGdi2sytiSEcejUuDPCbLh/oY=; b=CX2 rEZH1CGFk2G+bIo0UNyM8Ic5d9FFeIanP3MqrKoWmMNpblQ4AztAZkVhZyM7jDn/wkAP87UWNaNbe lv/h3PSjeXvftoV9eIXyJgEphn/HpYfdjTr+kIiTRdfICa4ulR4H93Y5p95+FQIWaj83TxlAShcg7 vaNRVfPFBZx+lT1lGarm4UOVdlGe2lpn+BpxcTxcqXfX1/VCLszmtMbetYpvN1DynN8+KEjNdljER +oTCAD5zun37LAv9t2eGFOxCUyahDUoRo/EOqRO0Kzbeb6HpyQgE4podseXY9e/UMgwfiHv04a393 d7yH5+lf+vxnBblpg1mz22jButRIKgQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fNy64-00052t-5b; Wed, 30 May 2018 10:12:48 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fNy5m-0004yR-Sz for linux-arm-kernel@lists.infradead.org; Wed, 30 May 2018 10:12:45 +0000 Received: by mail-wr0-x241.google.com with SMTP id 94-v6so28905206wrf.5 for ; Wed, 30 May 2018 03:12:20 -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; bh=Dq43pGGsaUJGUHgEGFZn7e62gG2T/RnSPAqH1M7QL3g=; b=G6p9wym3dIRaKzvvdlkyIUrAp05ok3ZYOzqz0ZRlkjkG4T184RsGbd5NSQrWP65GFn 3P5e5O8QU2FIKvOvevaL+lsnLz0RxMvvUHEl+ut6S5PivIC2Ten43jInSUP13RoDW/s1 TtzdzncQWl2wD/qkOJyJD1ERqwmPUdKTzLpsDdUGy5Td3gvmF6fO0Ga4YLVj33DELJJR 9gmXXGgBQOAZKlEzv7P+yxBE5GW2Vc3h0i54E67c2TZqli8o/C0VeIUpxsX5OojvHwyz K8hUyCAMPPzNuen/vhnbEbkhdyTxSFtAV4FSGVTzTXAwi9Ae7093Hal+WIXncJpxXtOv QcCg== 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; bh=Dq43pGGsaUJGUHgEGFZn7e62gG2T/RnSPAqH1M7QL3g=; b=mVlLE92YOwbEwD77wv3VJNmO1oERhT9zZ9tNje9QvoVZRXJGQ33IFLO7PNfGceUSWz RKwL54yMre3yR0aZyf7xSnFrwse1TcTp6F9NIVoVAk4hJrUXeheN8aJ/0k/peGmXoKg7 BbaBjQv9Dd92LonteVY119i77OJZeFJjq53IttZs0YqjKWwmI3lBqORmHztrYooa2N8x FJTIwtqMkYotYeFZgGFmcUHr/knD5MegeD2+uT3S6B3q9EioRMmYNP1Gm9X7j8xeqftz GXRFJS8lzVolqBXj/RqYzCnwO+deVJjTCOSDPOszznuBUJ2iowrUo1Ahde4NDteM6qm4 bChg== X-Gm-Message-State: ALKqPweQgzYYaDh9cnU3Pzp5NbRGVxz/nG/fcaWOXuNPwTsqqgCO/nRx nBZV4LgKbXJbYu0DZhhmpe1IfSlb X-Google-Smtp-Source: ADUXVKKcrxbosDUn5KLdKnbNeUYf1oxJchHRILVaVqikeT1PBg2gpqrvNO6zFaXlPaHFKsuqEs0S+g== X-Received: by 2002:adf:dd8c:: with SMTP id x12-v6mr1756054wrl.212.1527675138738; Wed, 30 May 2018 03:12:18 -0700 (PDT) Received: from localhost.localdomain (cst-prg-9-157.cust.vodafone.cz. [46.135.9.157]) by smtp.gmail.com with ESMTPSA id r6-v6sm38904645wrg.73.2018.05.30.03.12.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 May 2018 03:12:18 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH V4] ARM: dts: rmobile: Drop MTD partitioning from DT Date: Wed, 30 May 2018 12:12:11 +0200 Message-Id: <20180530101211.3625-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.17.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180530_031230_941808_CFADC438 X-CRM114-Status: GOOD ( 13.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Geert Uytterhoeven , Wolfram Sang , linux-renesas-soc@vger.kernel.org, Laurent Pinchart , Simon Horman , Marek Vasut MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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: lager: mtdparts=spi0.0:256k(loader),4m(user),-(flash) stout: mtdparts=spi0.0:512k(loader),256k(uboot),256k(uboot-env),-(flash) koelsch: mtdparts=spi0.0:512k(loader),5632k(user),-(flash) porter: mtdparts=spi0.0:256k(loader_prg),4m(user_prg),-(flash_fs) wheat: mtdparts=spi0.0:256k(loader),4m(user),-(flash) gose: mtdparts=spi0.0:256k(loader),4m(user),-(flash) alt: mtdparts=spi0.0:256k(loader),256k(system),-(user) silk: mtdparts=spi0.0:256k(loader),4m(user),-(flash) Signed-off-by: Marek Vasut Acked-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Tested-by: Geert Uytterhoeven on Koelsch Cc: Geert Uytterhoeven Cc: Laurent Pinchart Cc: Simon Horman Cc: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org --- V2: Drop the @0 anchor from the commit message, use 4m V3: Squash the patches into one as requested by the higher ups V4: Add this missing Vx to PATCH Vx in subject --- arch/arm/boot/dts/r8a7790-lager.dts | 21 --------------------- arch/arm/boot/dts/r8a7790-stout.dts | 26 -------------------------- arch/arm/boot/dts/r8a7791-koelsch.dts | 21 --------------------- arch/arm/boot/dts/r8a7791-porter.dts | 21 --------------------- arch/arm/boot/dts/r8a7792-wheat.dts | 21 --------------------- arch/arm/boot/dts/r8a7793-gose.dts | 21 --------------------- arch/arm/boot/dts/r8a7794-alt.dts | 21 --------------------- arch/arm/boot/dts/r8a7794-silk.dts | 21 --------------------- 8 files changed, 173 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>; - }; - }; }; }; diff --git a/arch/arm/boot/dts/r8a7790-stout.dts b/arch/arm/boot/dts/r8a7790-stout.dts index a13a92c26645..dc65519d53ab 100644 --- a/arch/arm/boot/dts/r8a7790-stout.dts +++ b/arch/arm/boot/dts/r8a7790-stout.dts @@ -211,32 +211,6 @@ spi-cpha; spi-cpol; m25p,fast-read; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "loader"; - reg = <0x00000000 0x00080000>; - read-only; - }; - partition@80000 { - label = "uboot"; - reg = <0x00080000 0x00040000>; - read-only; - }; - partition@c0000 { - label = "uboot-env"; - reg = <0x000c0000 0x00040000>; - read-only; - }; - partition@100000 { - label = "flash"; - reg = <0x00100000 0x03f00000>; - }; - }; }; }; diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts index 8ab793d8b2fd..406d5d29e29c 100644 --- a/arch/arm/boot/dts/r8a7791-koelsch.dts +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts @@ -724,27 +724,6 @@ spi-cpha; spi-cpol; m25p,fast-read; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "loader"; - reg = <0x00000000 0x00080000>; - read-only; - }; - partition@80000 { - label = "user"; - reg = <0x00080000 0x00580000>; - read-only; - }; - partition@600000 { - label = "flash"; - reg = <0x00600000 0x03a00000>; - }; - }; }; }; diff --git a/arch/arm/boot/dts/r8a7791-porter.dts b/arch/arm/boot/dts/r8a7791-porter.dts index a01101b49d99..45d89e064407 100644 --- a/arch/arm/boot/dts/r8a7791-porter.dts +++ b/arch/arm/boot/dts/r8a7791-porter.dts @@ -344,27 +344,6 @@ spi-tx-bus-width = <4>; spi-rx-bus-width = <4>; m25p,fast-read; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "loader_prg"; - reg = <0x00000000 0x00040000>; - read-only; - }; - partition@40000 { - label = "user_prg"; - reg = <0x00040000 0x00400000>; - read-only; - }; - partition@440000 { - label = "flash_fs"; - reg = <0x00440000 0x03bc0000>; - }; - }; }; }; diff --git a/arch/arm/boot/dts/r8a7792-wheat.dts b/arch/arm/boot/dts/r8a7792-wheat.dts index db01de7a3811..93f78716225a 100644 --- a/arch/arm/boot/dts/r8a7792-wheat.dts +++ b/arch/arm/boot/dts/r8a7792-wheat.dts @@ -217,27 +217,6 @@ spi-cpol; spi-cpha; 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>; - }; - }; }; }; diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts index aa209f6e5d71..b2dd54fbe40c 100644 --- a/arch/arm/boot/dts/r8a7793-gose.dts +++ b/arch/arm/boot/dts/r8a7793-gose.dts @@ -676,27 +676,6 @@ spi-cpol; spi-cpha; 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>; - }; - }; }; }; diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts index e17027532941..1d044ed598f3 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -419,26 +419,5 @@ spi-cpol; spi-cpha; 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 = "system"; - reg = <0x00040000 0x00040000>; - read-only; - }; - partition@80000 { - label = "user"; - reg = <0x00080000 0x03f80000>; - }; - }; }; }; diff --git a/arch/arm/boot/dts/r8a7794-silk.dts b/arch/arm/boot/dts/r8a7794-silk.dts index 7808aaee6644..b8163a0e2190 100644 --- a/arch/arm/boot/dts/r8a7794-silk.dts +++ b/arch/arm/boot/dts/r8a7794-silk.dts @@ -444,27 +444,6 @@ spi-cpol; spi-cpha; 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>; - }; - }; }; };