[PATCH 10/18] fwu: mtd: Modify the DFU API's to align with metadata version 2