From: Mikhail Zhilkin <csharper2005@gmail.com>
To: Miquel Raynal <miquel.raynal@bootlin.com>,
Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>
Cc: Mikhail Zhilkin <csharper2005@gmail.com>,
Hauke Mehrtens <hauke@hauke-m.de>,
NOGUCHI Hiroshi <drvlabo@gmail.com>,
INAGAKI Hiroshi <musashino.open@gmail.com>,
linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org,
Karim <Karimdplay@gmail.com>, M <x1@disroot.org>
Subject: [PATCH v6 0/1] Add support for Sercomm partitions
Date: Sun, 29 May 2022 11:01:56 +0000 [thread overview]
Message-ID: <20220529110156.189564-1-csharper2005@gmail.com> (raw)
This patch add support for Sercomm mtd partition table parser. It's 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. All necessary
dt bindings has already been added previously.
Changes since:
v5:
- Fix undefined "__udivdi3" on 32-bit platforms (Reported-by: kernel test
robot <lkp@intel.com>): limit patch scope to RALINK platform only
- Sort variables
v4:
- Add Acked-by to the first patch
v3:
- Fix commit message of the first patch
- Add Reviewed-by to the second patch
v2:
- Fix mistakes in dt-binding
- Add patch for new vendor prefix
- Add vendor prefix to scpart-id property
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 (1):
mtd: parsers: add support for Sercomm partitions
drivers/mtd/parsers/Kconfig | 9 ++
drivers/mtd/parsers/Makefile | 1 +
drivers/mtd/parsers/scpart.c | 248 +++++++++++++++++++++++++++++++++++
3 files changed, 258 insertions(+)
create mode 100644 drivers/mtd/parsers/scpart.c
--
2.25.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
next reply other threads:[~2022-05-29 11:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-29 11:01 Mikhail Zhilkin [this message]
2022-05-29 11:07 ` [PATCH v6] mtd: parsers: add support for Sercomm partitions Mikhail Zhilkin
2022-06-09 12:42 ` Miquel Raynal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220529110156.189564-1-csharper2005@gmail.com \
--to=csharper2005@gmail.com \
--cc=Karimdplay@gmail.com \
--cc=drvlabo@gmail.com \
--cc=hauke@hauke-m.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=musashino.open@gmail.com \
--cc=richard@nod.at \
--cc=vigneshr@ti.com \
--cc=x1@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).