[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220406195557.1956-1-csharper2005@gmail.com>
Date: Wed, 6 Apr 2022 19:55:57 +0000
From: Mikhail Zhilkin <csharper2005@...il.com>
To: Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>
Cc: NOGUCHI Hiroshi <drvlabo@...il.com>, Karim <Karimdplay@...il.com>,
M <x1@...root.org>, Mikhail Zhilkin <csharper2005@...il.com>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Subject: [PATCH v2 0/2] dt-bindings: mtd: partitions: Add binding for Sercomm parser
MTD partition parser for the Sercomm partition table that is used in some
Beeline, Netgear and Sercomm routers.
The Sercomm partition map table contains real partition offsets, which
may differ from device to device depending on the number and location of
bad blocks on NAND.
Changes since:
v1:
- Add dt-binding in a separate patch
- Remove redundant braces and logical NOT operator
- Define pr_fmt
- Replace kcalloc by kzalloc
- Use of_get_child_count() and alloc big enough array before the
for_each_child_of_node()
Mikhail Zhilkin (2):
dt-bindings: mtd: partitions: Add binding for Sercomm parser
mtd: parsers: add support for Sercomm partitions
.../devicetree/bindings/mtd/partitions/sercomm,sc-partitions.yaml | 70 ++++++++++
drivers/mtd/parsers/Kconfig | 9 ++
drivers/mtd/parsers/Makefile | 1 +
drivers/mtd/parsers/scpart.c | 240 ++++++++++++++++++++++++++++++++++
4 files changed, 320 insertions(+)
--
2.25.1
Powered by blists - more mailing lists