From patchwork Wed Jan 23 12:29:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 156371 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp664577jaa; Wed, 23 Jan 2019 04:29:31 -0800 (PST) X-Google-Smtp-Source: ALg8bN7t3vf36CdhmRtWeQ/n8ayAitJdwbVcC4kj4FHIT9fT0swIBZIfXgFq+uTrv7LJ0nbQTtl+ X-Received: by 2002:a17:902:722:: with SMTP id 31mr2020625pli.271.1548246571907; Wed, 23 Jan 2019 04:29:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548246571; cv=none; d=google.com; s=arc-20160816; b=jAEicJyvOVfWzEOV5mLp0o+3HRWKJzwzu1+1dj7C5i1piiDoYcOV6Y8c7MeHW9h4GI 6EM7zHn57PWRdOJH2J7xydi6wDbGEnKbSXd8m/S5n6pbVko0sHicxMotJ9buz3/s0Jg7 0Yj5fMxJf5A1ZwpjBcYCRjlX2SW8XwTJeBsDQXPklKXDmJmLNr8AeXEKMqRtBrIM0vf7 jHKd942up2vag98Q3UCFEUgPtn6k7M9nzvkRsYYpRQepx1kWEEKlvsu9Ww6FVRHKkOcV XWXDMN321Bw3uFpO8VW95WTfO+vaCkE1k0BJi7KM6u/IhD6GqjqyCbrm3FOvC1FvpviU xetw== 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:message-id:date:subject:to:from :dkim-signature:dkim-signature; bh=qkls3ZaXHL4z87qYDnLkAhzDbDM8SgU0WMe8+nagwzk=; b=rsOXXSqObjX7grG0V6VmopoCtz7QX6YvhFK4+Sn0KvOr3bldfpBtOyIGkTyvOg9yDQ KR1uiQtLGPpcdUsGzquqrLM2+gEnYpmkz+ylaRazm+KQuHRhNt5Zqs/RIFD52Zb+vtNy pYTYAF6I0ShwflsX3KF0N/Iis73OBDCeVUyWWROFFLSF6QZJa5tAiS97Mw5ndsLV6YQF Fa57z15lJltvyhR/rfS7QRSwsvh6N6lPg2zMnO0kWajjPo0wZ/o1X7oD5nQd3ldhYTTN dlu+3exouBj/ij/WmwWpUfLBDI1+bM6Q1oIuTBVqiq21EzjF0EZczm/mF6aTgVYaJ1OX KgYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=P4IhXgJn; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Zfs1fIY2; 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 o3si18966770pgq.139.2019.01.23.04.29.31 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Jan 2019 04:29:31 -0800 (PST) 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=P4IhXgJn; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Zfs1fIY2; 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: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=qkls3ZaXHL4z87qYDnLkAhzDbDM8SgU0WMe8+nagwzk=; b=P4IhXgJncUEeWY NVFftRzMLTqoa1pKjbOX5YMWnAqcftFdVKH7gR5FPKR7Q8r4YslXFrTc9PGBITcPA9FRtn8S8IZIR iitSjgy5ubtxKT2Ghr2ZWIpSyI6t+1VHC7xVwFyG8yq0uTYWUV6MEMJmp0sZAzxM4cgSw9EvogkhF UlXvfxo5TnQDIjz5rvpxZpdeOeaSZ73ORqnUQagp1C8Ts3URZs1rqKrW8OzOSI2jjUv/1onsdXlz2 cNJb2eS8Ii8Umkn+EdJ4eGvC54U4yyN/88zlUril+dGrWhlv7HVqChaUB012BIqfVOdhL2tBME7Ip Le1I5JSIykG9tOQ9Xm3g==; 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 1gmHek-0002Ol-UN; Wed, 23 Jan 2019 12:29:22 +0000 Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmHei-0002OO-Eb for linux-mtd@lists.infradead.org; Wed, 23 Jan 2019 12:29:21 +0000 Received: by mail-lj1-x241.google.com with SMTP id q2-v6so1740559lji.10 for ; Wed, 23 Jan 2019 04:29:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8CsLa0e2oCYBZBnEUfO5QZ3SEIIaFEGabXxwxzp4Rtw=; b=Zfs1fIY2Q+VkzrUXNtIZznniCtKiqpJzg4aiY1nOa9AHIljeQkBKHpxzjKnyhk0Uw4 pZUg+GhfFGAAR0JirXyBdnENAO0Qo3LaIhGnUP/64N/56IS7ofe5HrUbCkiGQV1IbZaF yT9e4zAJth5KbYFtA12uW58TNEwFLG6xZsc0o= 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:mime-version :content-transfer-encoding; bh=8CsLa0e2oCYBZBnEUfO5QZ3SEIIaFEGabXxwxzp4Rtw=; b=ZO+rXXKIZdc6CQ5dFClxCvp3PyCvH6qVYC+IppShpjtGguLUltw2RWVl2o+qqBR+Vv lQuiqKupIY6P8moBeZZdViWPzEjecNwwRyXhiNgWndgk9TT6Juau0faXhas4tDYjpiLk G63OCBVIAvb+po/Ku/Jl0WqFHWeegKdCSAAH8FAfhKZYNQWqKGpAJ8Pw0EOL6Rg+zCf1 e86+knthJMndsII/CLAAAWOQtZVhQQun0tU6KayaOb8EO5zRuigMS4oC2+MqKjH/c2X7 85z9A5CCZfixLIGXycGkVQGY39cO/J8H5rsiEdhMCjzu9dkb15zXBf0miSvQkONtTyJ3 +T7w== X-Gm-Message-State: AJcUukdOy3WRw60nO9y7LHCbE51FRg/QePjh6QRwkBOw9OGKbeW85CcK 3VbYLow5b6f8dNGcLkr7l9k3RQ== X-Received: by 2002:a2e:5b93:: with SMTP id m19-v6mr1923744lje.115.1548246557204; Wed, 23 Jan 2019 04:29:17 -0800 (PST) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id q2sm475935lfa.63.2019.01.23.04.29.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Jan 2019 04:29:16 -0800 (PST) From: Linus Walleij To: David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , Cyrille Pitchen , linux-mtd@lists.infradead.org Subject: [PATCH 0/3] AFS move and OF support Date: Wed, 23 Jan 2019 13:29:07 +0100 Message-Id: <20190123122910.19024-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190123_042920_531923_364D1DBE X-CRM114-Status: GOOD ( 14.46 ) 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 http://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:241 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -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 Message has at least one valid DKIM or DK signature X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linus Walleij Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org As a starting point to fixing up the AFS support on ARM reference designs, let's move the implementation down to the "parsers" subdirectory and add OF probing support. More refactorings will be done on top of this change. Linus Walleij (3): mtd: afs: Move AFS partition parser to parsers subdir mtd: partitions: Add AFS partitions DT bindings mtd: partitions: Add OF support to AFS partitions .../mtd/partitions/arm,arm-firmware-suite.txt | 17 +++++++++++++++++ drivers/mtd/Kconfig | 16 ---------------- drivers/mtd/Makefile | 1 - drivers/mtd/parsers/Kconfig | 16 ++++++++++++++++ drivers/mtd/parsers/Makefile | 1 + drivers/mtd/{ => parsers}/afs.c | 7 +++++++ 6 files changed, 41 insertions(+), 17 deletions(-) create mode 100644 Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.txt rename drivers/mtd/{ => parsers}/afs.c (96%) -- 2.20.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/