From patchwork Tue May 22 12:02:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10418397 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 E177A6032A for ; Tue, 22 May 2018 12:10:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF03728B72 for ; Tue, 22 May 2018 12:10:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C21E828C5C; Tue, 22 May 2018 12:10:49 +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=ham 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 3BB4928B72 for ; Tue, 22 May 2018 12:10:49 +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:References: In-Reply-To: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:List-Owner; bh=U4XqBSL8K2D6Ngk2OifnUn/9e7xIJ+Kdl7ldByYDWv0=; b=EkQYq2tOx27RX7XJXsCbeyhqF8 opjjnKTiNh8RAXSn3lTW2orJwKAp1BOfZt1RzvUJ4a8hIZNqOmQiLzE0wevnYIXUut03OZNdjYQhw mii2fqTOHvINaYH3AvTIlDSJ/tiJiNtkX6bVBFuRQ1xZVCslUHTmgthK1058DucUZ9+ejmSqDDEnM R4cPcek95eu4oC8oPn3G+UyhSjvD2x5RF8COnPXOBsr7jtV9T+vgT8YcRqwPCImKhlf0wChEIyMHt Pn2LBpnt38AryJRmILojg/LH2wTshrjcD5dsU84RpIykWTZ8/E17T8hMaaL4WDLZb/aKShEoag40k /VZeYz2g==; 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 1fL67l-0005fr-Io; Tue, 22 May 2018 12:10:41 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fL60m-00079K-QR for linux-arm-kernel@lists.infradead.org; Tue, 22 May 2018 12:03:55 +0000 Received: by mail-wr0-x244.google.com with SMTP id w18-v6so15937912wrn.6 for ; Tue, 22 May 2018 05:03: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:in-reply-to:references; bh=Tqos+6lxG+VOkZSOrY3Ht/tT+knee2qFc9EbPeL+unw=; b=tWBIL9qde/fO4FLV5ZLTnChRhJ9Osc6jQoc+WpdWq5SkbgDfXYhUxZhMYro5Qc7JQg s6x9pnk4bciF14FCIGNqelyXUHtnFO57pX2wl1gOzxaembTTFYNAG7fCu6qlC3/kKgbL Uveg+Sqb7YMTuGaMHPqtsmwXNhGGVdeJEo/VwmMDLz78jc7oi0sArAMhOhWInPkor/1h QAcld73AAdM9y4Q4RkaNSZLhD3/5TOTdQprudD0VZESg3Czy2HF21yq2Zm702UpSqW65 81wuck4krnoOHe14RtZClAohncmB7Mi1Od1uMCkkNqJhVSqnUjjVHMQ3s9r3lyXgHs1o pKbg== 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=Tqos+6lxG+VOkZSOrY3Ht/tT+knee2qFc9EbPeL+unw=; b=owdu3vA+rSRZTt21T4mqdnH5s+v4HRgFmZuP/fqIsligMaRB7oQ/0GQpPZvgXHPb5Z /rtQxCYrQVNB9D00cNQUZaOAd9jI3q5sFeILaVa9K5ZRAiGHUbqSy42ckideesZqIVfT BKrXublRYiTWeRh+Oo+1m2B6LlUaulUgfOpH0VxBPfjUpNuX+F5w6p9YDfyeI+tA8XIf PiA4bmXDdDvRIVsdz3QBTdnk5Em/rVKwciIldan8lpwgM7wscmnER1uor20BvNcwZYhq ZzUcqEwnxg/I5iFX4s53f501AAslZ0ua6LIbrVaPGdtoQX3qFKvsMtLJbuhRRCTTCPa2 TwLg== X-Gm-Message-State: ALKqPweIYCaUKTdFKtLvNk597q9jSA2IyyYy/8J3C7/pZLJ27pkOOxOg 89hUNQf0Ugl8h/vgG3tH73zAEtVU X-Google-Smtp-Source: AB8JxZq/Q9pZSYRyeuRmueeN+bW4U9fVgAFrD0wF6fki10jsBT/39LGZ+BZKwanHkVi0NvkqClMNHQ== X-Received: by 2002:adf:8212:: with SMTP id 18-v6mr18119730wrb.144.1526990598707; Tue, 22 May 2018 05:03:18 -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.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 05:03:18 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 8/9] ARM: dts: alt: Drop MTD partitioning from DT Date: Tue, 22 May 2018 14:02:56 +0200 Message-Id: <20180522120257.13232-8-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180522_050329_070538_A67B74B7 X-CRM114-Status: GOOD ( 13.85 ) 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: devicetree@vger.kernel.org, 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: mtdparts=spi0.0:256k@0(loader),256k(system),-(user) 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/r8a7794-alt.dts | 21 --------------------- 1 file changed, 21 deletions(-) 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>; - }; - }; }; };