From patchwork Mon Jul 15 21:46:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 169017 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4925903ilk; Mon, 15 Jul 2019 14:47:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3sKMoyb7d88n7szj+9N1QJYvfoC+GtCngJPYZWBeSEShKZzV6n3fh8UGW98YxX1yreI6f X-Received: by 2002:a17:90a:9bc5:: with SMTP id b5mr31880763pjw.109.1563227249979; Mon, 15 Jul 2019 14:47:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563227249; cv=none; d=google.com; s=arc-20160816; b=esX+NQPIensdQJnJwkttrIoSD5V3605/XsAtY8SSKuM7sBpwYh0EYUYGbdrKfqS4VN ZuRlffsmD8oMgEk/QuqneP7R4Rg5lE02GLrmAhViVWKtBfERV9pzW/hqEdG6PVKwcWqe z4iG3qRoWRi69VRXyqezxQP5Q9tzZSJA/JJoIVLCjRxGKXWB2rmv1cQOIbFrD8itm0bI rLBZUi62zDWZ4qkQRp2brUy/FqgaojWREvKNbPxlhx4fdKP0Fs7uRzYOBBWais+fNeVh Q7SEiXWNOT4CkI9/N8xAOoP8qvMXx3sgZuPQicpq6BTykaYC17OUvvz/YDxghoBIdG8C /uhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=bMsOaupqCu7i56SguZtlhDSHDzJX/77rTeRYjaK7JH8=; b=EOPYg3oZ7HSGuAX75O1UMvFd+ecgd0aJ9Vd4tTLRjRjJaJ8a37Iwxm0e0psMCLjZuV 1w8GaP7AcdA2wRL0OQ0VXGAkbTiiahndIl7oLJb3pn0er4sE38OQKGCBYqQxuifyKQQM zUS41E43SfViRgU3PnG1i/TvDCixrqzWdSKRGkRd+jIh56WmmrOvdCgqUUNjVqzM0uNW CjqoGFdTiV5+HMQ76j2HnqWx0UT3ob6VLdHih8c5GQ4PHVciPd4y7UtnpJAkFeXzmF9B KqraKVG1P/xtwIpLuGrpq7jQhBhTa92U3sqZb23/9xaYgZgXuGN711A2eO/EPyK5gzpX wcIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=CqxOubjJ; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xj88Vygb; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2607:7c80:54:e::133]) by mx.google.com with ESMTPS id t25si17562966pgk.442.2019.07.15.14.47.29 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 14:47:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) client-ip=2607:7c80:54:e::133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=CqxOubjJ; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xj88Vygb; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=bMsOaupqCu7i56SguZtlhDSHDzJX/77rTeRYjaK7JH8=; b=CqxOubjJqsVk95 I5aW/e66UwctEQXBPVuZ1yol72ilcxkjqjb2zNgQ7KXHphuPnQNQV5Kamae/Sd3xyKMfG/Iwe0ZM6 3qG7LR9CD48T6UPasp1PBBKpEAImB1f7bmLbB71oz6Qj6bHzlHA2LvPHD3scDrLHeFkRd9QohVTet A+FWvPbTUN5lVAAhujuPi9GP0++uoaHIaI99oKqSbtVl776vfe7RSR3mxKCFV6KHavs3Q9C1e2QX1 Q0RguHOYgjr/xEeyeyCV9VM01Ypi0f6hFIx8d3BK4S/kocXMnRHkZhTeCb+EJVjWWbxD9rOmwepLg SAGXx2iB7tkk2xIJAXvg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hn8ob-0006MD-PO; Mon, 15 Jul 2019 21:47:21 +0000 Received: from mail-lf1-x144.google.com ([2a00:1450:4864:20::144]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hn8oN-0006Ai-JI for linux-mtd@lists.infradead.org; Mon, 15 Jul 2019 21:47:09 +0000 Received: by mail-lf1-x144.google.com with SMTP id r15so7201842lfm.11 for ; Mon, 15 Jul 2019 14:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OxZ6R3XIrg6gKgkJX9x7Ncu8nBSSZe1N1TWX7JOY6tw=; b=xj88VygbMOVUsDvelTdadNzbWFFNzea0P1Gn1baVkX2aXoAwcAw+tEfDJOr1YvP6D4 JdXn6Na4Lsr5mb8vxtDwBDGj1yRLDFMXX69cXGRuJkjYzDT37RK7hHc6BY0kYCp+PjHv WfZNnDf+LBIlcp0Sm8T0abma+v+BGiJCrQSR3fll/TGQIQHHCc4Twulk4BJ/YNorbdOn sJ30S+tPJRxkLGJfZ2nvM7Q/IF+wXsmn58skPeAEmOUCAaH+ey2kStvMeBaIekdIigGS 4mrnbI51jrKj1x1s9hT2RV1Nmr//cA08+SpRlTWDa9RG9R5QlaT0V3GXm0TQfildfa7r YkMw== 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:mime-version:content-transfer-encoding; bh=OxZ6R3XIrg6gKgkJX9x7Ncu8nBSSZe1N1TWX7JOY6tw=; b=STWk84Xdsfd41fnI51McG3yTZCHo4aFZP9aM5+oDCxHkipQ+zodZq3kpOz1BozcSAX SsP8Re9SF+9x3yYSKKpNTxWE71uFhedrBY2+TPhHQl37PKdf8jxFbH+kpG66VYudwFnE pVsAx6PtfUbH7Zaqm3+uv3tbF7n/dYNv2QxWttt2ZW2edzCwOexPXEw67XfmeE8DSsw1 RZ8GQo29L0ATV0zaZcE9dxfETHeJYCOohsJvcyiVEQ053c5qShqn60zLLDoTA4lZBbia BZbFqFMPnGqxDv2hzfRTQLxjz4nuY5Dl9iDRMFWrwzfIzPZoQjwmIaeF+X+EhA33n+r7 k5OA== X-Gm-Message-State: APjAAAWWAmgXh7ALjj09wUXPYy5zf9EO4yRYCgQyal+7Bd01ISjuVex5 1q8wIy/lPtAhrCDejQyzOm9BCw== X-Received: by 2002:a19:f806:: with SMTP id a6mr12642061lff.102.1563227225918; Mon, 15 Jul 2019 14:47:05 -0700 (PDT) Received: from localhost.bredbandsbolaget (c-22cd225c.014-348-6c756e10.bbcust.telenor.se. [92.34.205.34]) by smtp.gmail.com with ESMTPSA id q2sm2457074lfj.25.2019.07.15.14.47.04 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 14:47:05 -0700 (PDT) From: Linus Walleij To: David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , Miquel Raynal , Vignesh Raghavendra Subject: [PATCH 1/5] mtd: parsers: Move TI AR7 parser Date: Mon, 15 Jul 2019 23:46:30 +0200 Message-Id: <20190715214634.31697-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190715214634.31697-1-linus.walleij@linaro.org> References: <20190715214634.31697-1-linus.walleij@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190715_144707_790985_7779560B X-CRM114-Status: GOOD ( 12.31 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:144 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linus Walleij , linux-mtd@lists.infradead.org Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org This moves the TI AR7 partition parser down into the parser subdirectory. No functional change. Signed-off-by: Linus Walleij --- drivers/mtd/Kconfig | 5 ----- drivers/mtd/Makefile | 1 - drivers/mtd/parsers/Kconfig | 5 +++++ drivers/mtd/parsers/Makefile | 1 + drivers/mtd/{ => parsers}/ar7part.c | 0 5 files changed, 6 insertions(+), 6 deletions(-) rename drivers/mtd/{ => parsers}/ar7part.c (100%) -- 2.21.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 80a6e2dcd085..c86a1cac6121 100644 --- a/drivers/mtd/Kconfig +++ b/drivers/mtd/Kconfig @@ -69,11 +69,6 @@ config MTD_OF_PARTS the partition map from the children of the flash node, as described in Documentation/devicetree/bindings/mtd/partition.txt. -config MTD_AR7_PARTS - tristate "TI AR7 partitioning support" - help - TI AR7 partitioning support - config MTD_BCM63XX_PARTS tristate "BCM63XX CFE partitioning support" depends on BCM63XX || BMIPS_GENERIC || COMPILE_TEST diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile index 62d649a959e2..690d0b8e528a 100644 --- a/drivers/mtd/Makefile +++ b/drivers/mtd/Makefile @@ -9,7 +9,6 @@ mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o -obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o obj-$(CONFIG_MTD_BCM63XX_PARTS) += bcm63xxpart.o obj-$(CONFIG_MTD_BCM47XX_PARTS) += bcm47xxpart.o obj-y += parsers/ diff --git a/drivers/mtd/parsers/Kconfig b/drivers/mtd/parsers/Kconfig index 176b75a375b1..3b3675b8d672 100644 --- a/drivers/mtd/parsers/Kconfig +++ b/drivers/mtd/parsers/Kconfig @@ -1,4 +1,9 @@ # SPDX-License-Identifier: GPL-2.0-only +config MTD_AR7_PARTS + tristate "TI AR7 partitioning parser" + help + TI AR7 partitioning parser support + config MTD_PARSER_IMAGETAG tristate "Parser for BCM963XX Image Tag format partitions" depends on BCM63XX || BMIPS_GENERIC || COMPILE_TEST diff --git a/drivers/mtd/parsers/Makefile b/drivers/mtd/parsers/Makefile index dd566bdd16e2..0bc06386bfcd 100644 --- a/drivers/mtd/parsers/Makefile +++ b/drivers/mtd/parsers/Makefile @@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o obj-$(CONFIG_MTD_PARSER_IMAGETAG) += parser_imagetag.o obj-$(CONFIG_MTD_AFS_PARTS) += afs.o obj-$(CONFIG_MTD_PARSER_TRX) += parser_trx.o diff --git a/drivers/mtd/ar7part.c b/drivers/mtd/parsers/ar7part.c similarity index 100% rename from drivers/mtd/ar7part.c rename to drivers/mtd/parsers/ar7part.c