From patchwork Tue May 22 12:02:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10418297 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 44EB8600CC for ; Tue, 22 May 2018 12:04:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3445F289DF for ; Tue, 22 May 2018 12:04:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 28AC028C1D; Tue, 22 May 2018 12:04:41 +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 94A56289DF for ; Tue, 22 May 2018 12:04:40 +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=8YChNoqN2gVfC2nifgzwjnw41TZCZ9yKKCsftByVfuE=; b=f/N X9zlE6/sNTvDOpCJJW2skea36ODmw90TEjsjpi+3LBd5NEiPrZkP4UM8PXlQsrMw9MtnG0dwdJfUx Tq+SP3mCzCCfK6/Xk8hZaisdL50g3IeVucwfmkXDUU2kP8FINvyy+KgtQqK5bmS9prPSYTqSDfMFP Q/HA4/8t1OIfE/mIm2t1rHIzlyKIwGm+NfXsrm+qKq8CluLm7esZGkqqVS72YS3BinDlyGjaxSbAz bsJ1HBfD1hq9cV440mM6mhciTaiFpN5nANLIXQG03vufvhijrrtAXKKlyb+f7lU/d3zlOARf9Y6qG XHvJ1op0YuSFsRpxAArPVbCSpPtdYqg==; 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 1fL61o-0007sm-D1; Tue, 22 May 2018 12:04:32 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fL60f-00072N-Kg for linux-arm-kernel@lists.infradead.org; Tue, 22 May 2018 12:03:36 +0000 Received: by mail-wm0-x244.google.com with SMTP id l1-v6so32902783wmb.2 for ; Tue, 22 May 2018 05:03:11 -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=luDV75NzkG9mOI5Iuve8wj0CrK7xO3vkDqzT8m9yR08=; b=DWj3rDPl3gXCFmDVWoxU2vVtIojIDkC4rEm6WkkifeuCIacABBhE1ZfsjJZc3XEwSP 7a2V9Ne3njc1sjO2xK7QWI/f0PyPYabDhlUGsKqE5xmZVhWYZYDSjnZXJu95vjvleFts ZzZUKYQpJd83Yv6VhCHbrcZ8223xkqoHTy42rVqXstvmp3Q6HTFbdannJrRx65SXeiRc jApT1cM4V1GkyaFDpeIwtizlbbAdJQLQh4wcTOQKPkKpCnUwPKi2Ok0+pzZjGRQ0hlKs VbuXEPSoohrnW5haV28ZUGT88K7PeMMovcQaZ2vUDX11KVlmZWeQgdGtKxapxw00WL+N R8NQ== 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=luDV75NzkG9mOI5Iuve8wj0CrK7xO3vkDqzT8m9yR08=; b=Hcb58iLAB6VljLIij1upnnBKXhorTtfHDoojyIOuenKHtQSnmE7g/B5r1GaHEK2pSt DYcUfcc7Dup3o1ST+xtlCGbFM9AdBFBuZQZQNXWhMfKv4mQAO0qYYS94P6LDeFaMcfxy q6mhRakWbzlLtuL27rIxSP8wOAvSwTp5DxPMegEIfND36BYmx3o9ZztJj0Nq/eXBs9N3 9beXsABPxKmE0HLme0lYVKUccoptHUJo4yEGi3+ybu85/S7am8Lgu7cBWd9neT2upJxK ycor0VxvJ+YnhHJUb8fOIfqMemrlyIFdvHeZiE48ujuPKpd/RVL3hZdVYhUUgITDRQZF T3Ag== X-Gm-Message-State: ALKqPwdru+i3aNbl0ecmk+KJWNw9i46w3F23Bqp/K3lQ6N4fsFiwUZPE 2fas5eI9AxrTzr8WuBs+EIuc2pf1 X-Google-Smtp-Source: AB8JxZrw6Mefqoq8sENv8g00VdNcsgnHZ5MJw2kyeeaUus3kEF6PhxYo1Lksg3tNTcu0mb2jTMbn1w== X-Received: by 2002:a1c:6ce:: with SMTP id 197-v6mr933232wmg.159.1526990589221; Tue, 22 May 2018 05:03:09 -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.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 05:03:08 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/9] ARM: shmobile: defconfig: Enable MTD command line partition parsing Date: Tue, 22 May 2018 14:02:49 +0200 Message-Id: <20180522120257.13232-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-20180522_050321_697677_36052F1C X-CRM114-Status: GOOD ( 14.48 ) 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 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/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