mtd: Add support for Airoha partition scheme
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 12 repliesIn review
Changes v3 from the cover letter
- Add compatible to partitions.yaml
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | of: also export of_update_propertydrivers/ | +1 | 0 replies | |
| 2/3 | dt-bindings: mtd: Add Documentation for Airoha fixed-partitionsDocumentation/ Documentation/ | +81 | 12 replies | |
| 3/3 | mtd: parser: add support for Airoha parserdrivers/ drivers/ drivers/ +2 more | +92 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] mtd: Add support for Airoha partition scheme
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
Signature · 1 line
2.45.2