From patchwork Thu May 24 15:07:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10424975 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 CFD816032A for ; Thu, 24 May 2018 15:08:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBD1B29633 for ; Thu, 24 May 2018 15:08:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0B73296AF; Thu, 24 May 2018 15:08: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=-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 27CF3294E9 for ; Thu, 24 May 2018 15:08:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967592AbeEXPIC (ORCPT ); Thu, 24 May 2018 11:08:02 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:51239 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S970724AbeEXPHz (ORCPT ); Thu, 24 May 2018 11:07:55 -0400 Received: by mail-wm0-f66.google.com with SMTP id j4-v6so6122994wme.1; Thu, 24 May 2018 08:07:54 -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=VMJ+DjWvdy5ILz8u+AP7fikzuCX7NuGWjPtlUVWBoLo=; b=ni0p1uBSVwDDE8sQ3ANNKsZa1BH0ZvBVz6AgCWSSgfLJAFxpPzJkcpyl1IOwb3oz0r iZAKuzA7BkASya3hN7FMWF8qJDjSST5H6LEdn8uCsbF1UrHeXJ6KfcMHaXGBeDwNjaES wtkzaA/FBEAMHJwq0YXHBRVSAOEsLAMaDiAfn9NmT6OijHzEok9qgTLCfwWSzBFA7hQQ H+1Sg6/wf9CEC9IkCMmzV19/2P1CNW6pBCUaigQCej7hbUnfeGtbpxC83vPRYFZUlFoE sAyCStOYynjQk4PxEG1oxzsE8sxSBAwum5WYmz7hn2OVIA394G9PkVKnp7sCI1Q90i4v 4Iug== 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=VMJ+DjWvdy5ILz8u+AP7fikzuCX7NuGWjPtlUVWBoLo=; b=knRTaOMKOQRpdGcFLH+zEAocLG8II7uLvyd9RotwUJg+ZEkop61VkQkkHbdo+iv91m 13WsZWLHJ6ZI4aTCHMKbFqM82qoPc/vI05sttHtho4pIpKGhddipN6NBvrWL7XiAK3OD nYH7wL7dgNhJ3HQ2u6y0OwGLn5UXQOM/+OjaLH50qnbQx0b3dYaQ4VHC5GUgb6NTRvGK WtTeU0gpHHdphVMNY/yupqFGfr3IFlKH8DquUlXEOH1sET8usjn6EZGUUZ6sHwsqOIkQ IXve0aDzoMOpu0gFsahZdtKureaLP0vUH23iGTAGnwY+keBDXLUXiMmzvU1B/P2efPq5 rvUw== X-Gm-Message-State: ALKqPwdwDWUp3me72I6b9ld8uQx6b8YtDRKEnqM4MmdPEg9n9SOIk1Oz eWTXECQb68dRn7zmyg3zgRY= X-Google-Smtp-Source: AB8JxZpojdtFS5lg+QAGFXttudW5QWvIJOSq33D9tYPviF8lSnTVlj/joLRggzwQEuh9Y3J/y9EC8Q== X-Received: by 2002:a1c:aa09:: with SMTP id t9-v6mr9147973wme.65.1527174473707; Thu, 24 May 2018 08:07:53 -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 g28-v6sm5073741wmc.38.2018.05.24.08.07.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 08:07:52 -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 v2 8/9] ARM: dts: alt: Drop MTD partitioning from DT Date: Thu, 24 May 2018 17:07:20 +0200 Message-Id: <20180524150721.28964-8-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180524150721.28964-1-marek.vasut+renesas@gmail.com> References: <20180524150721.28964-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(loader),256k(system),-(user) Signed-off-by: Marek Vasut Acked-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven 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 --- 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>; - }; - }; }; };