From patchwork Thu May 24 15:07:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10425009 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 8E3E06032A for ; Thu, 24 May 2018 15:19:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 695A72969E for ; Thu, 24 May 2018 15:19:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E3D7296B1; Thu, 24 May 2018 15:19:07 +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 E88CF2969E for ; Thu, 24 May 2018 15:19:05 +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=3iaHR0+CQ/Ilozlc3Qgjh7j9VYq6AkHrZ/53B+GhqU4=; b=tpqyKf+OF73GOYGGUnNpjGUu3x NLA10eJN2TBNwRnj+Mi1DtOPCk3JfUuSiodUI0e/Bk0T7n5eLvpyCHaQy85bM26G2wUdfeYKbsWsf llyR2eeYOHfHtOpbOAa6TecB8q09I9fZzdknDn5+ZjHLT82qCqazHVKBS7/RBMC4InPH2+kIdbgEP vf8fOULgXol6s5HPx2eNa2eNOCr9QkAg2LUVGPYVIKSVhR5HWdP0XKkxbQMU+aGrBCzJIeOBBgfsh xzIKeXHulrlZZN5J0M2rjDR2psDHdV3ggRa6EAACz1kXcCNWYE+QpmHdfoBnjkNxdmfKfDaKhLxAU UfkznhmQ==; 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 1fLs0u-0006qV-Hn; Thu, 24 May 2018 15:18:48 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fLs0m-0006aH-Ai for linux-arm-kernel@bombadil.infradead.org; Thu, 24 May 2018 15:18:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=3NJi7ZxkolgCq5BYmAeI2vj11ntS+c2IHUFG6rlcoAk=; b=Pr4Fjg2rEPZRu2/T31jB4FuxZ 4xzLP+JAlT3QotsU6EqAY1eW39TgtcrwhJ+X5DBmMT0dl0XnD9U/c2NEQ6Xa18SjJRWmiF1SuG5aD PnQUUHgc7gmRNF4ogH9iiiTx1Oo8ABlYARVUA6FpjGA/swrA1hUU1MOJjMhKQCovv92+BBaSbancM PkObgf3/Dh3dtmYC02W0WwX5xZH6MrlIX2WWJPHkWbSwZKbI0f5igQCuT2VPYVg1jT0Qvym1JSAFZ 3sotSYwc7sB4whHXRBzx5TrxmQ+M3vnpOKHh13DjhwfZ8oJM1Vw6px+qmn5g6zjMEcWcCdDO5OSfV rkxvJ59mw==; Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fLrqS-0006bu-3o for linux-arm-kernel@lists.infradead.org; Thu, 24 May 2018 15:08:06 +0000 Received: by mail-wr0-x244.google.com with SMTP id w3-v6so3737913wrl.12 for ; Thu, 24 May 2018 08:07:50 -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=3NJi7ZxkolgCq5BYmAeI2vj11ntS+c2IHUFG6rlcoAk=; b=ZDa6xDK7jiNuHLu+jYCzpA1wTDMUkJA1KzTT8DlfXAFYfaOl66FRmAmSAlBcB+53Ao W3tDoHS7EdpwHx8sTRQcwbtNKQa+SGl7eFVylS5ZfrBLU3grQhoQmj5iW6sa4ib4WuH3 QeraEvBz625/CM7wDgJEDIjib47A4u7YsTwtIHZt/vf7a2gNFf4JolWOZ+yRWfvtBNAC o21VwUtc2dwJ8HSLGT8daI0zDxtW6apu5zSrl6Ed1QX3GCW81p2laxUARaI7EIeZ6qyB qJn2sjhqD9B4z84J5/RGBobBnRRbUhfS/xn/CL8M7ON4IJr0nPVcUBWVUBVwKVwset5D yhDg== 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=3NJi7ZxkolgCq5BYmAeI2vj11ntS+c2IHUFG6rlcoAk=; b=UVW3coNMX1JvKqqJHunx3oe7KcFVJEUTCTrqo/6+HsAfOb+8+ZM7cJukj/pDhkGppu ZQfpqIbmp6xGuYpCkR8ZhKzjI50LruqYmtcZDMk8I9nPvJs7WuOrAp5wpT/46fU23Qa7 rL2svN04DR+SHdSHeuzl3Dj74B5lJ1UMyPGGsWuzRqQPfdktKUguJcK5v1wC8KTKHmhk OvKJTU1xWfWBL/bOCv8NZA3RZgL1C69wGcP6g/Dw9sq0reXlwM5bebrn9AMU1ueLYHe3 iEKgcxINj9azQbhvU7BGo01uQ13Dn2GJBh72s8aczDKNTpaqFkFarzBxNsn70I2OnlQM hYEA== X-Gm-Message-State: ALKqPwfFSugrhbT5AmstTnlO3Iafkaui0h1B4iCx7P3oHVk/Q2oBqffw d5TbiqL8MAWvXWPDeKmh+62bmjo4 X-Google-Smtp-Source: AB8JxZqdvlo7og7rEpQ/NaS8pNrGaUWYa4F9tb2GkdgUa7XmiO76pYvNX8qGqXVM/QWV3xfQHUegcg== X-Received: by 2002:adf:d84a:: with SMTP id k10-v6mr1098106wrl.26.1527174468436; Thu, 24 May 2018 08:07:48 -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.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 08:07:47 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 4/9] ARM: dts: koelsch: Drop MTD partitioning from DT Date: Thu, 24 May 2018 17:07:16 +0200 Message-Id: <20180524150721.28964-4-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_160800_149453_44BCB2FB X-CRM114-Status: GOOD ( 13.70 ) 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(loader),5632k(user),-(flash) Signed-off-by: Marek Vasut Acked-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Tested-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/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>; - }; - }; }; };