From patchwork Thu May 24 15:07:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10424979 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 3E03960327 for ; Thu, 24 May 2018 15:08:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25B6C2968A for ; Thu, 24 May 2018 15:08:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19A7E296BA; Thu, 24 May 2018 15:08:29 +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 703DE2968A for ; Thu, 24 May 2018 15:08:28 +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=jO7VCtuQ0r0G0rXfuEErFJj2ZFOFSmAxsYADilfCjQw=; b=NetS+Ur7kZoi8/HxEd6b6e9NhC IKPRPUbWi6tVk3l5eymNrIX7d1jRjuBzTx/9kksh/GXdGuhk/ig9RBpnEes1qkZ8pW1HURb8KPql7 PhvQIMuzqaO0YNnqJxhRfagIydkBxrawTIr/R0MwTIuo6N69f2cQMv9nrdGNaFheUfLfqS+2OoCMx xpFIvOWPYsa1fzumTle8YQgAJ/1c+VQQXuXfZYArz8U5RGk+rEEgch42Eiw7X8l2IOThyJkptyVpA MhQznkw9XucX7aL8tUoWBpSuVJcVDQjHwBeW7kDOLTtC9lSZvIN5pmm4YPzC3Sp51j3gcPgBHPkUs j2hNRZjg==; 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 1fLrqn-000051-AJ; Thu, 24 May 2018 15:08:21 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fLrqe-0008VP-7J for linux-arm-kernel@bombadil.infradead.org; Thu, 24 May 2018 15:08:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Xj0pwfYBnZ/H5Q6h3Cns9n5mTHkNmGYdqaM8jp1brTc=; b=YDPfZLdswXAxyaKbqTiWQSSms EhDUsFZ/3eOoh22f6bRggrcErh95MnX96GDxTmtZqzpZIaFP7VdjUJrnPSQ4yXtk96bePkjDiH94j rTSzhkcJo04k5Gj/7R7RAfkFoI+o3SogIghU3+d93gblRTGwg1ALs8+1Fi5CaEKZZ/ACh0MVr4hzS l+IAeuDQZZRvrL5c+jnD7fFdVFUq4cqQAG732tmRgnJpoRpSWNJswWtebfaWTO3bYEKOivR/RIGMt oS/qF6IgTre3zGy3H0Mn61V896lhDw9pFCoeAQMKifzBECM//p0j4MZKNrGzDcYbsLu5HQwpxqjW0 CUcLGfiuA==; Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fLrqZ-0001C2-9Y for linux-arm-kernel@lists.infradead.org; Thu, 24 May 2018 15:08:10 +0000 Received: by mail-wm0-x242.google.com with SMTP id a67-v6so6061220wmf.3 for ; Thu, 24 May 2018 08:07:57 -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=Xj0pwfYBnZ/H5Q6h3Cns9n5mTHkNmGYdqaM8jp1brTc=; b=mOwjd60oO3nTK9BQ4sna4uZHaZiS8GfWTVfBLm0+V/y9zygqxndOTBzZzGpj+4CmkY yhIfbADi4jJJrvFGkXwreJBJypssNqpjDTfWAZ/I6rrraKH9n8wLSZiJ6zKYIjhyW/6p Kr3trWgbKvoSWVaSAnptNfHY6jaYwAV6jcXA2WplO5fTXfOeQP8O4B579WOSZAN2HPXS p530q1dSATuivtWsdD7WNJpt1k4JZGWgXqDT4wFkILEaIPyzEF4HxEEFXe3HfYszwCW/ 0CwtCY1VcRpsCUIO2qLwcms8PnBN+wAH3KdJOS2oc0ldS9YTsNYnQNosZtRzeU1qF5xW Y8tA== 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=Xj0pwfYBnZ/H5Q6h3Cns9n5mTHkNmGYdqaM8jp1brTc=; b=ghkTbOYRIPiMF+Aqpwr8wB7hND9UK/4fHaTtQwkWYFA+CUBf1E/vyMJoYkq6909pfL pV0ygk1mvCE7T6K4ba1ku0ijjfdHhCF1MUX6rtSwpFtOl2R4FJUe4DgSnRdEdCaj1PWP eJN01f900P14Cddt1xcw8HQedT2rw7QXpqyPQC07/+I5RNwc4S6pxqVCNNE+XVhMWofN Djl+vzBNANF+vp9AaGCLGPYMVL+jPaIcbAXYeKE5Oh+OH+B3LINvh1tiUCUZx2Tm9JII uk9yYfy8zWQesh0/5imouXJXXXZR7YD6x7jmXqNVBVIJoz6BTEH5s6O2oR3Zu8z4HVyX U+Fw== X-Gm-Message-State: ALKqPwcOqqRsEAmfad4qSMX7RXtVA4d4QVMEaQC7I5RYOskvqRJja2bQ +gxU14e+1/msxM9SQp5yNEBNfQc2 X-Google-Smtp-Source: AB8JxZq+XnbEiHM4OrB3XXVkfPaKXXV0zVblFktQ1a9EArQAmu6rgZdAUDBhs21rIShucnhLnxfolQ== X-Received: by 2002:a1c:ae0c:: with SMTP id x12-v6mr8766363wme.133.1527174474932; Thu, 24 May 2018 08:07:54 -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.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 08:07:54 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 9/9] ARM: dts: silk: Drop MTD partitioning from DT Date: Thu, 24 May 2018 17:07:21 +0200 Message-Id: <20180524150721.28964-9-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180524_110807_344081_7BA75E61 X-CRM114-Status: GOOD ( 15.16 ) 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(loader),4m(user),-(flash) 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, use 4m --- arch/arm/boot/dts/r8a7794-silk.dts | 21 --------------------- 1 file changed, 21 deletions(-) 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>; - }; - }; }; };