From patchwork Tue May 22 12:02:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10418401 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 DBCDE600CC for ; Tue, 22 May 2018 12:11:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC63328C5A for ; Tue, 22 May 2018 12:11:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C144F28C5D; Tue, 22 May 2018 12:11:04 +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 3543228C5A for ; Tue, 22 May 2018 12:11:04 +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=rfAcMwyYh15Vqmzkgt0/rK2XAJgKh4fhRCNY9YAsegg=; b=Q2tDKoDAK5yrXOPQ0n6d0ZfwtV T6m4BinAGUxZ3DlV1mmkroAjkWJuDorOf//9rGG0S7+TQ8FKziOXmtq6/8g7F5F9sKiCK8B8q4gCI o+SvzxqhXBvMKpc/Zhj6tTIvQ6Bc40XFx1PkN8rkCyf/1spYkb+MOCvQkeJ9cisOybn1mjw05Tfml noPfxs25z0+b3fjUfqjNr5fRN1TWl6zmGAXMO+Gg+0nUaTbweDnnDExANiSULGoo5NU66Y4j10hu3 aBnRomzCLknXZg1V3VF7k7dhV0Nz9nc0tf/KqDxG1/hl5gcPEjn55BQkJVn2u/sXxIJDZE/GcvO3V Go+JEzCw==; 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 1fL683-0005uE-M7; Tue, 22 May 2018 12:10:59 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fL60m-00075U-R8 for linux-arm-kernel@lists.infradead.org; Tue, 22 May 2018 12:03:55 +0000 Received: by mail-wm0-x243.google.com with SMTP id f8-v6so32876537wmc.4 for ; Tue, 22 May 2018 05:03:15 -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=4c7VOJ+ju5AMD5f6AFv00e8x7a51Ow2rMVHzkVjPjUs=; b=r/3TjxlZ+jR1KK3yj3tAOWZnhjqSiUb6pm84gDqNBPI0jpOyXeLBCeZpcBT1DIKHmV 08mPXiNxV30umUp+UHsjc/K2TUUoo2oVhPWdVLqPFdIttKp4U3t9imVxxl6cbfqQhgZf oeJWc7YU7sriGnXaNElL0dOcHIA/jLHxRIDxflJmy8hmlnIm1/5M1Q/cChSDx1PCrhkX Lyy6+ajtf6omCCR0mKfXnyRpn97MHnO0+5UPnXO7pYJr5XltRBIq8QXm356RQwS/1Jdy htAtuHPW0QwmPgkZ+6P1Txl2USyqa9wMUQ02B+kMI6eiA/k5f/ho2XWbaGgBExfhe5T9 aw+A== 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=4c7VOJ+ju5AMD5f6AFv00e8x7a51Ow2rMVHzkVjPjUs=; b=L8rcJindFW4Uf88KLr1wSqKvdx2//pv15eWySKWv3tPitAhj17JKx9jvRrujXV1Ppo N8kCFkrkFFUfieW24y/Hm29tAVaJqPvZxr5Ifgnhhks2E1FRwU90wnbHF2im8Kv4f7qE DtyWz0ZOBjl3rzYoMGwGff8udBi7ThO8t00yEICs2mOVH7/IaRSrSllDDEv5n0zLocim 5+JXBXb+/9lMpYH+IxPJg5pRBemxEg77W6a8JUloDqWuC6idVVzHz33+y2jSRceqPzxp Ci++Uq9JB57aMhmCPiWPtbZiSBk93t04ZgvRYr22yXTd1Xvs3BKO5uEwHq2V+qQRiAoQ u8gw== X-Gm-Message-State: ALKqPwcJXSQO06cEgW62W77aMOi8LzE5dJU/bOquJ40QfHEnoPPxXcp6 FF3I3JIeaDtxVBfLd8ap9n5y3XDt X-Google-Smtp-Source: AB8JxZpm5xnYe2H/J/XzfJtAnrHCwbsOdJMBT5/roNY/TX3JK/eJUCTYmDvh6OnMD7fPVXl1Lb9x6Q== X-Received: by 2002:a1c:7609:: with SMTP id r9-v6mr1102010wmc.111.1526990593800; Tue, 22 May 2018 05:03:13 -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.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 05:03:13 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/9] ARM: dts: koelsch: Drop MTD partitioning from DT Date: Tue, 22 May 2018 14:02:52 +0200 Message-Id: <20180522120257.13232-4-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_007450_5F1FBFD4 X-CRM114-Status: GOOD ( 13.81 ) 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:512k@0(loader),5632k(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 Tested-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7791-koelsch.dts | 21 --------------------- 1 file changed, 21 deletions(-) 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>; - }; - }; }; };