[PATCH] mtd: Create partname and partid debug files for child MTDs

Michael Walle michael at walle.cc
Fri Apr 30 08:02:14 BST 2021


Hi Petr,

Am 2021-04-30 08:50, schrieb Petr Malat:
> Partname and partid are set by the upper driver (spi-nor) on the master
> MTD. If this MTD is partitioned and CONFIG_MTD_PARTITIONED_MASTER is
> disabled, the master MTD is not instantiated and partname and partid
> aren't available to the userspace.

You might have a look at:
https://lore.kernel.org/linux-mtd/20210429155713.28808-1-michael@walle.cc/

This is just for spi-nor though, but attaches the properties to the
flash device instead of the mtd device.

-michael



More information about the linux-mtd mailing list