From patchwork Thu May 24 15:07:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10424997 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 7F4D76032A for ; Thu, 24 May 2018 15:12:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 649A3296DD for ; Thu, 24 May 2018 15:12:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 593E2296DF; Thu, 24 May 2018 15:12:31 +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 3DE31296DD for ; Thu, 24 May 2018 15:12:30 +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: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:In-Reply-To: References:List-Owner; bh=aic4+gZYhpCrcXabPLOXYiu+BY4QOIgvzJ71HsSxDfI=; b=Xgh P9/SRPf9Ob3eXuNkTGHtKQRBel31kiaqzPIGsUSCsl5W7OGVjiCmeti8ZGaxIPpiVrIoMv5Q3neQ1 yZmiFRpTub/NXfetT5cJLEHbsthfpEhf4xiQQW4Yj/OvSIVTb/ydEHyZBwjr1D8AYagnqgRLcfkMb oktUEDuK6jDhnNcXaeR51b212Dq3fRjYOBic6VPqdmejtWQ27C/wlny4KrK6xfkl1YNZJdYxOipsO i0F1xXFlIoSa1MFzBpbw8lU1PuDeZQjpveQxdLGFwgduX7l8QzwOfG2rd6zMu3CqmjalKxmkebOV+ 09yiPgi7EWkqkmfkz3Vaq4TcgRZd2vw==; 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 1fLruh-0003Cy-1p; Thu, 24 May 2018 15:12:23 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fLrqO-0008L8-Ik for linux-arm-kernel@lists.infradead.org; Thu, 24 May 2018 15:08:31 +0000 Received: by mail-wm0-x242.google.com with SMTP id j5-v6so6278735wme.5 for ; Thu, 24 May 2018 08:07:45 -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; bh=lqnmWJce30QOQE4DhcxiBH+4qEiX5wvdRraMqZqMlkw=; b=TGYJhKIjtaUOGnM/dtCGqBDWVDojE737dmbF+zCXaJmdiuyS+M5I2B6bsU4E/J7+N2 6spRVCBYoU3j3Xa6EpqIQaDGiTFuxjoHbEcgnJt+jznhFi3FRNJGc7OiqVpQKdU0u1+O nif94thj69M/XqXdvVo4BrADTqXrZI99w5558PSPmyCz3fbDaz+y9SSWevZqHfIPrTS4 NUBRESQAJiZm8gr9r4oncFrvNgt2Oce0axwQfqTcK+tHgHlCWJ6kSGnNP7B6FAmyzO0/ haTQJs5zr9wFFTkPihpazzwQ3DsfR1E2V0rMUDff2sF4l9yK11bk6bSnDEzKsLbdSV0y e3qA== 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; bh=lqnmWJce30QOQE4DhcxiBH+4qEiX5wvdRraMqZqMlkw=; b=PZ7JwPAsjCvfhf7p7g7fw1u8PSSdFJzjOasPAJ0CyVFaL3Vxomfv60tg/+1ZTXufxy EXDo5vGzfWT+a0KFOm6ukEQAeSaT8RaIhvX9CpCIAqRP4vUsqzcIdlvq/KBZ3Y3t9tNT 3dAp9CcoLqKbRFghn9ktzC4OIOU+9THWZ/LpiuOqw1PT1DUufSEjiEDq2VbjZHqwljDw fQr1pVW52ZM/60KOP/u9ok+j38Jdg2suA1nuy8slzct3UbF7bjB/s36xs7A37GEpwErA rtv3FgRsRe0SYOeUWiOnvMRZTbFQPKXFj3zUsQqkJxCpD+eeuH7SbgjP4hxOj7y2DFmQ y+Og== X-Gm-Message-State: ALKqPwe5QPhY2scloNmxCbr2LaOJi/HhahTcdHEfnZ7sxjhTrR7pxRJu HLkd0VI0lDwXIaqoti/JJdyrHgVv X-Google-Smtp-Source: AB8JxZpNYaMZ6sUcuRmY0j/ztJX9Mge1RVH11+7+laQrTr2VBW+a0PGuyCWv9zku2KSJNRJz6gZ8fg== X-Received: by 2002:a1c:b4e:: with SMTP id 75-v6mr7062918wml.32.1527174463600; Thu, 24 May 2018 08:07:43 -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.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 08:07:42 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/9] ARM: shmobile: defconfig: Enable MTD command line partition parsing Date: Thu, 24 May 2018 17:07:13 +0200 Message-Id: <20180524150721.28964-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.16.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180524_080756_661735_430E75E5 X-CRM114-Status: GOOD ( 15.55 ) 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 In preparation for removing MTD partitioning from the DTs and moving it over to kernel command line partition parsing, enable the support for kernel command line MTD partition parsing. The argument for not having MTD partitions in the DT is the same as for not having hard drive partitions in DT, neither describes the hardware itself, so it shouldn't be in the DT. Furthermore, kernel command line MTD partition passing allows greater flexibility in case someone decided to repartition the flash, which is well in the realm of possibility with these systems. 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: No change --- arch/arm/configs/shmobile_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/shmobile_defconfig b/arch/arm/configs/shmobile_defconfig index b49887e86a3d..4d0d5a00a188 100644 --- a/arch/arm/configs/shmobile_defconfig +++ b/arch/arm/configs/shmobile_defconfig @@ -64,6 +64,7 @@ CONFIG_DMA_CMA=y CONFIG_CMA_SIZE_MBYTES=64 CONFIG_SIMPLE_PM_BUS=y CONFIG_MTD=y +CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_BLOCK=y CONFIG_MTD_M25P80=y CONFIG_MTD_SPI_NOR=y