lkml.org 
[lkml]   [2022]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v6 0/1] Add support for Sercomm partitions
Date
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

\
 
 \ /
  Last update: 2022-05-29 13:03    [W:0.192 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site