forked from Imagelibrary/rtems
This extends the flashdev API to support the additional calls required by NAND device backends. This also adds region-relative IOCTLs to prevent reimplementation of offset logic in top-end flashdev/filesystem adapters.