[PATCH 0/3] mtd: Add support for Airoha partition scheme
Christian Marangi
ansuelsmth at gmail.com
Wed Sep 25 03:13:56 PDT 2024
This is split from a different series called "mtd: improve block2mtd +
airoha parser" with only the parser changes.
This series add support for the Airoha partition table where
the last partition is always ART and is placed at the end of the flash.
This require dynamic calculation of the offset as some dedicated
driver for bad block management might be used that reserve some space
at the end of the flash for bad block accounting. This special driver
change the end offset of the flash hence a dynamic parser is needed.
New aarch64 Airoha SoC (EN7581) make use of this partition scheme or
calibration data is not accessible.
Relevant Changes from old series:
Changes v3:
- Add compatible to partitions.yaml
Christian Marangi (3):
of: also export of_update_property
dt-bindings: mtd: Add Documentation for Airoha fixed-partitions
mtd: parser: add support for Airoha parser
.../partitions/airoha,fixed-partitions.yaml | 80 +++++++++++++++++++
.../bindings/mtd/partitions/partitions.yaml | 1 +
drivers/mtd/parsers/Kconfig | 10 +++
drivers/mtd/parsers/Makefile | 1 +
drivers/mtd/parsers/ofpart_airoha.c | 57 +++++++++++++
drivers/mtd/parsers/ofpart_airoha.h | 18 +++++
drivers/mtd/parsers/ofpart_core.c | 6 ++
drivers/of/base.c | 1 +
8 files changed, 174 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mtd/partitions/airoha,fixed-partitions.yaml
create mode 100644 drivers/mtd/parsers/ofpart_airoha.c
create mode 100644 drivers/mtd/parsers/ofpart_airoha.h
--
2.45.2
More information about the linux-mtd
mailing list