From patchwork Tue Aug 13 07:25:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 171161 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp540648ily; Tue, 13 Aug 2019 00:26:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwjomO70eqLztwmBiOXHJXR0NvKbRKrBS1YA1x3Mu3dKm9fhkVDndM4dRs5AbaB4l+38PKl X-Received: by 2002:a63:a346:: with SMTP id v6mr33369097pgn.57.1565681171591; Tue, 13 Aug 2019 00:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565681171; cv=none; d=google.com; s=arc-20160816; b=trK6GXMpfbScu67sWmyHZh9b1qgp37N47v6gLwgusuS5Ik02vK902hm82oMiNB+GQA Qj6S3XYi1QmP2nLO965aSJweGtoxffYwGrCi1DjGWa4/qKewOXIjyO3+K6nXp03HXaLB jIbyOUR0pS7WFn93EH7pQvXfzp/YAeA0hhtSguuQZoV8EnaMPvZq7TgAry09lb4kCH+3 5KZXyPS32BOjbLWD+9NLt6DVhRhkqhR3ZJ1/8z8O39OLioD9iIRlw+xsnCT8KGcWQA14 053O0F1M0XXHfiikFsP+a7qJW/LeEOnO0RWfDcvO3gbaizyDKYWZg1GZRV1nRK/uAj38 r0ZA== 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=dv7exyP77X3M0yaRLDpsVyH7lvoVGbN+iB39kuJ0LvU=; b=XJY0Yw45yBjy/D3DHW4BaxMC+lLTfXRzN4PlAg4CxZVx8Q9QNU7zuzEgBVYpaaVr0U q10xp4MRg9vVpHwJod42rBK6KpdqOv7EeR4FgqUc98E5xR89Z1UksUOwhACgYwRNSW2j TQOVGO6rChkvjul9T4XdXBVBBgFx6cDof0nyE9Po2B86aJIDOoCf3EOjlextlZoWtv0J nKgod6Iy8x4CMWUG7YCwavlYJ9xcj6i+JnFtyB2yk8Twp4bB4YZwHOxiucpUG7GGNEOE tcedBiZcdhrSr+nhX61Ha4WIhud9lG+0GpAyjNxUoXOCYRpUn9rL5yRe2h7eWS9scM75 +53A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b="e/QsVpe9"; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=rxnvTS6q; 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 ck9si912726plb.141.2019.08.13.00.26.11 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 13 Aug 2019 00:26:11 -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="e/QsVpe9"; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=rxnvTS6q; 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=dv7exyP77X3M0yaRLDpsVyH7lvoVGbN+iB39kuJ0LvU=; b=e/QsVpe9jnRhdX Q3GwTqV1GGOnGe9QJ4UCWPROMNuo2SBT97gYBmbRdrAOiCjXWTf/E9S7XTxXJ++8K3XaAYvKCpXjT feQ/laO7rp4Bv0KMVlZFmpHhxoJ1ROzyTngHIIoqOn5qzewNtjiC/nM4RieVBHtD6nB2khpp4mMZ2 UOfyJKXOmQ40l0dv3xBgZnONLXYqa6XMGSkBgkOsoivY4ZEJjqXaFbqGtSks7eoLqWmIIO6JXA25J W4E62x0hhLn2c43ZnXLpmbZ2B2kMncXcCVoiO/cBIw2TphJAzqtM/5YhdYx20hi0itHmeiXQ42too ujAJa3cP6IQwEcq5CjGw==; 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 1hxRC1-0006OY-1X; Tue, 13 Aug 2019 07:26:05 +0000 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hxRBe-00069L-SY for linux-mtd@lists.infradead.org; Tue, 13 Aug 2019 07:25:44 +0000 Received: by mail-lj1-x242.google.com with SMTP id x4so8475203ljj.6 for ; Tue, 13 Aug 2019 00:25:42 -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=BhW9djIrniDsvzTOEKc5+aGZKs9ynnBhRyFirbRww+0=; b=rxnvTS6qf+lOevzPUeGpFl4CuoFuohDB2TKy3kRfx7cHoI3PA9TEC3RFAgSHISfKQA INIsr7QLYVuqi89V6cstC7WpYGVwa/wjpKN7oeMxFihxq8PjjPRsFvfRLxWmzuFNNHFJ zldk9UTUlyH3Rs0Iwafr2XRhf0nBNyuweqTHvsbR6bLDvZAX3iAL0C2LJT0S+SzSyU48 OMy5F1mp7KRbQfhm4ePXNCxKkMSGmUmvlkl2nb1t3hWgmhuYDbfPiYwSvgYsQQ81y4Zs 7FRR0cEkj059BF8jEUmSitrNdBsz1uYVlk/yqGf578pe+Hh7O+qVo9/KFbetT57lePzk 4dJg== 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=BhW9djIrniDsvzTOEKc5+aGZKs9ynnBhRyFirbRww+0=; b=juwIZpvPwYXecnroOaccZ9jKw724AuPTv5qB7Ooz3oheZcMcPtPD/+D0I9fJYiptHr 3s0p/AY7HH0LQuc/R35zofBeVTvSSsqo3Lh+Kt/ZD3aXHtZ3Ckc3+Ii7A18s9leJ+bjf ML8MqkOAUpge1aoxacqha26krsinp48ekkWeecO6SrLT5cz302pZP4pXLOuZSVphGe1x Tw9TgNeDiBkFtIhovlmKrvZ/cRPK3X6U3lX7XhzYdmdlqH6815kuJoxI7hDH7nf1trxH RkOtw0pcunXWpFfbk/DedYjqykO1QLdfyNWcw2Zz8jBktS+Xe3V6Rh/dkiNf+3QjCH2n vnCA== X-Gm-Message-State: APjAAAUTVolYlENQQkRzTa19A6AqjgcJKQQMex4OUgmMYz6rKTrJupMA CMdr8YQnTcUOoOa5qtGCe7gCag== X-Received: by 2002:a2e:92c6:: with SMTP id k6mr14656523ljh.148.1565681141167; Tue, 13 Aug 2019 00:25:41 -0700 (PDT) Received: from localhost.bredbandsbolaget (c-2ccd225c.014-348-6c756e10.bbcust.telenor.se. [92.34.205.44]) by smtp.gmail.com with ESMTPSA id d22sm2004804lji.99.2019.08.13.00.25.38 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 13 Aug 2019 00:25:40 -0700 (PDT) From: Linus Walleij To: David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , Miquel Raynal , Vignesh Raghavendra Subject: [PATCH 1/5 v2] mtd: parsers: Move TI AR7 parser Date: Tue, 13 Aug 2019 09:25:27 +0200 Message-Id: <20190813072531.4234-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190813072531.4234-1-linus.walleij@linaro.org> References: <20190813072531.4234-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-20190813_002542_929777_5680DC2A 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:242 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_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 -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 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 --- ChangeLog v1->v2: - No change --- 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