On 12/09/2016 06:43 AM, Cyril Bur wrote: > Cedric (or anyone really): Do you know of a way the lpc-ctrl driver > could query the MTD subsystem for the size of the PNOR? There is > currently a hack in the UNMAP ioctl() which can't hang around. well, it is a platform device so you could loop on them I guess. Or maybe use register_mtd_user() ? C.