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: 10418277 X-Patchwork-Delegate: horms@verge.net.au 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 1771A6053B for ; Tue, 22 May 2018 12:03:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09590205A8 for ; Tue, 22 May 2018 12:03:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F1F4824603; Tue, 22 May 2018 12:03:12 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9750205A8 for ; Tue, 22 May 2018 12:03:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751326AbeEVMDL (ORCPT ); Tue, 22 May 2018 08:03:11 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:37447 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751236AbeEVMDK (ORCPT ); Tue, 22 May 2018 08:03:10 -0400 Received: by mail-wm0-f65.google.com with SMTP id l1-v6so32902736wmb.2; Tue, 22 May 2018 05:03:09 -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=JSpz2KbwEqLZygZxiEsSOQ6HKbB+kDTPX2xyuMMm8wkSEWLRMJEy9vmNV13B6o7neA 1iCDGwGPLM68qUuA6PPGgwWrnagfDG1eBTTnH2DJ6TmSNU60p1uBuA+Dd0alcOf9MzAr qgB00ncn30RE46pHPYF1nU7eqm7NLeBh8r6jEdR/KASkTw7e8PUqAOXbuHdOHDRAD3fQ vdJ50KI21lyffhnp83U/RgnLGB9tUFoWalUduk4gny2C8kRLD3aPrV8nTJQ+Xc9Z3MUb QLwzP+hqNxi3dR5Rf5iwNWsxzESVGCLhko9lhrVCqtyizhHaQ299BjM8ghQlRec00iXw PmmQ== X-Gm-Message-State: ALKqPwcgHJCO+ONqD2GHr8xFDimrzfOj4hQN+bCULirb8ps5yer31yKz +7Hwd1qv/TGc9k0Rp02jrgQ= 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 Cc: devicetree@vger.kernel.org, Marek Vasut , Geert Uytterhoeven , Laurent Pinchart , Simon Horman , Wolfram Sang , linux-renesas-soc@vger.kernel.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 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.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