Driver for address remap for flash devices. More...
Driver for address remap for flash devices.
This MTD module allows for remapping multiple different regions on a single MTD device and present them as separate MTD devices. This is similar to partitions on a hard drive, although this system only allows hardcoded partitions and lacks a partition table.
The use case for this module is to be able to split a single MTD device, for example a SPI NOR flash chip into multiple separate regions which all can contain their own content or file systems.
To use this module include it in your makefile:
To define new regions with an existing MTD device the following is required:
The snippet here defines a region within an existing
MTD_0 device of half the size of
MTD_0 and starting in the middle of the device.
Interface definitions for mtd mapper support
|MTD mapper backing device context. More...|
|MTD mapped region. More...|
|Shortcut macro for initializing the members of an mtd_mapper_parent_t struct. More...|
|Mapper MTD device operations table. |