From patchwork Tue May 22 12:02:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10418419 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 60988600CC for ; Tue, 22 May 2018 12:13:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E08128C5E for ; Tue, 22 May 2018 12:13:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4264228C64; Tue, 22 May 2018 12:13:01 +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 AE06828C5E for ; Tue, 22 May 2018 12:13:00 +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=N171yH7JZatfJ3AnhB6ckki3uELttGs4CqkaTnaBwBY=; b=tEy0Ri4gl667KLPesV65NX+E0z yA1xy4yeczUPOgmAaF+xKQuR7Q75MRZqyCWkgndvuPIb6rB/ygd135Q3rTIGQkw29Se4uedfuXoEn VIcOE0X5AvpfNxrtUp9ugr2JcWQOi8Pk0Od0jb4eM8lS2eEzBwqJuZMZpQgdAnNvMwgJm27YfAQRK 2URS/k7fUI3S8BtPRzLueMNtydZzFVaWBDRoZLBMm8JZofolFcIDgP3gzyBSxfbXkWCVTHL0XdPpT on8u55Nb4aH/vigNFa4WakU8rhpIk1Bz7aMjL8N/x77PFvtiBAtqjgCRVzv2zbck9t8hKXb7s6Jfb Ppd50huA==; 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 1fL69q-0006ak-GF; Tue, 22 May 2018 12:12:50 +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 1fL60o-00078J-2B for linux-arm-kernel@lists.infradead.org; Tue, 22 May 2018 12:04:13 +0000 Received: by mail-wr0-x241.google.com with SMTP id k5-v6so7610314wrn.3 for ; Tue, 22 May 2018 05:03:19 -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=7H5yBIyIBHwjl46ch+zmlOzEEXNW3UMsAJ2UUT/xanE=; b=uOGITxLlz8sV0R4mb9oOu18Qky6pYiySoBJPopCfEMzFzr6Sj0D5TaOP8UFiAUIC8W eZK/3pgdBVMTEMCB9yobhkoE9/U7aXgTKbAH5n/UdVU6lQjkACarhB3C1PFulrpegfQP r2u/9/3Ona9g0Wduwqrf/isZn/CUF/QAxKEPsEJZCaqmzolnV11O9C+qM0tk5HcN/dLK 3450nhYFy8YOmTVbRcGB4METusbl9osoucDy/E1QFi6dfpvzAa2D+SwmJn4LJQle/yI8 F9zHcjpFnUueuKOPdo3nkROj4uT7BFZsfqUTWRwLpg5hjfbhHtvTxZjKSQMqgUxNraAb fSYg== 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=7H5yBIyIBHwjl46ch+zmlOzEEXNW3UMsAJ2UUT/xanE=; b=pv5YzauoNk2cRzaC5PNTN8oBkYAeKsAIa5ybzpyUnYAMkJt/vQkmMBG5ZP6j5aYhnX UPSZyn4fkhSA6c3UlwUDlbg/E0p9fOhKjL+U3lEpzlIrlfiAsVwmEmD+KD/pi/apCsev 49xvephsaLvow05oVtbQevbgf/Xg4In/9hrZhFgOxEFtw5sxWFsnHeuTTgLTXynO5e8g XFMn5E7l0XspX1qcDmOxh2imJ4p9ZJGwdiO3IT1Yxun7uwNiegcdvrru6VCYr6T060ic RIG4/cyNiWRDKYA+IdbefQ63Kl/BNXJA+w8NqVsn0PeyYVDzfbksimgKIJvY/k/wdo26 Az6g== X-Gm-Message-State: ALKqPweLuBqrflf0zxLcIrXeV/VEKLI7nxHISP4QKkFHhfs1Zm8dZ+/J aswhfiA48vqX8YM20NyStl9VNl7Q X-Google-Smtp-Source: AB8JxZoZZXtS/bBaBgQ2ZgmRebmknF0jqSDz1oQ8VhTkqAHxFM+axo2BHvOjKjzLCv2SxmekDh0zqg== X-Received: by 2002:adf:aa8c:: with SMTP id h12-v6mr13315424wrc.149.1526990597539; Tue, 22 May 2018 05:03:17 -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.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 05:03:16 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 7/9] ARM: dts: gose: Drop MTD partitioning from DT Date: Tue, 22 May 2018 14:02:55 +0200 Message-Id: <20180522120257.13232-7-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_050330_145671_E3254D63 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: 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),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/r8a7793-gose.dts | 21 --------------------- 1 file changed, 21 deletions(-) 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>; - }; - }; }; };