drivers/mtd/maps

Memory-mapped NOR flash and ROM chip maps (physmap and legacy boards)

A collection of drivers that expose NOR flash, ROM, and battery-backed RAM chips wired directly into a CPU's memory bus, so the kernel can read and write them as MTD storage. The generic physmap and plat-ram paths are still widely used on embedded and industrial boards shipping today, while many of the per-board files cover specific 1990s–2000s reference designs and PC add-in cards.

keep-annotate conf=0.84 deploy=medium replacement=none subsystem=mtd category=storage-flash
84%

recommendation

Worth keeping but documenting the split: the generic physmap-core code is actively maintained, with 2023–2025 fixes including support for flash larger than 4 GB and a late-2025 pcmciamtd leak fix, and modern device-tree-based embedded systems still rely on it. Many of the older per-board map files, however, are legacy dead weight; one such leaf (the Intel Carillo Ranch/intel_vr_nor map for hardware that may never have shipped) was already pruned in 2024, and similar selective removals are likely to continue.

repository signals

39 files
8,916 source lines
47 commits, 5y
+120 / −1,084 lines added / removed, 5y
25 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 47 total · active in 26/61 months
2021 2022 2023 2024 2025 2026 2021-04: 1 commit · +0 −1 2021-05: 0 commits · +0 −0 2021-06: 5 commits · +11 −20 2021-07: 0 commits · +0 −0 2021-08: 1 commit · +0 −251 2021-09: 1 commit · +1 −1 2021-10: 0 commits · +0 −0 2021-11: 1 commit · +0 −140 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 1 commit · +0 −272 2022-05: 2 commits · +2 −0 2022-06: 2 commits · +3 −10 2022-07: 1 commit · +3 −0 2022-08: 1 commit · +1 −3 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 1 commit · +2 −0 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 1 commit · +2 −3 2023-03: 1 commit · +1 −1 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 1 commit · +1 −1 2023-07: 4 commits · +10 −17 2023-08: 2 commits · +12 −1 2023-09: 0 commits · +0 −0 2023-10: 7 commits · +16 −30 2023-11: 0 commits · +0 −0 2023-12: 2 commits · +1 −274 2024-01: 0 commits · +0 −0 2024-02: 2 commits · +2 −2 2024-03: 1 commit · +2 −4 2024-04: 0 commits · +0 −0 2024-05: 1 commit · +5 −6 2024-06: 1 commit · +1 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 1 commit · +6 −6 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 1 commit · +1 −0 2025-12: 0 commits · +0 −0 2026-01: 1 commit · +1 −1 2026-02: 3 commits · +36 −38 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. cateee.net

    CONFIG_MTD_PHYSMAP is still present in current kernels, with physmap-core DT/platform matches listed through 6.19/7.0, indicating ongoing in-tree applicability rather than abandonment.

  2. patchwork.ozlabs.org

    physmap-core received accepted upstream maintenance work in 2023, showing active subsystem attention to the core map driver path.

  3. spinics.net

    A 2024 thread confirms removal of one dead subdriver (intel_vr_nor / Carillo Ranch) because the product likely never shipped, showing selective pruning of obsolete leaf drivers rather than removal of the whole maps directory.

  4. spinics.net

    drivers/mtd/maps still received a real bug-fix patch in late 2025 (pcmciamtd leak fix), evidence of current maintenance traffic.

  5. patchew.org

    physmap-core had a 2024 upstream/stable fix for >32-bit flash size handling, which points to real current users of the generic direct-mapped path on modern 64-bit systems.

codex reasoning notes (technical)

Local shell inspection of Kconfig and source markers shows this is a real driver directory centered on generic physmap plus many legacy board maps. Local git log (shell, with safe.directory override) showed substantial 2021-2026 activity, including recent physmap-core and pcmciamtd work, and only one actual removal of a dead leaf driver. URLs were obtained via web search/open for LKDDb, Patchwork, spinics, and Patchew. Conclusion: keep the directory, but annotate that many per-board map drivers are legacy while generic physmap/plat-ram paths remain relevant for embedded/industrial memory-mapped flash and ROM deployments.