> -----Original Message----- > From: Avri Altman > Sent: Tuesday, April 09, 2019 11:04 PM > To: Shivamurthy Shastri (sshivamurthy) <sshivamurthy@xxxxxxxxxx>; Avi > Shchislowski <Avi.Shchislowski@xxxxxxx>; Chris Ball <chris@xxxxxxxxxx>; > linux-mmc@xxxxxxxxxxxxxxx > Subject: RE: [PATCH V2] mmc-utils: let FFU mode use CMD23 and CMD25 > > > > > As per specification, the host can use either CMD24 or CMD25 in > > closed-ended or open-ended way. > > CMD25 is better option as it can flash the firmware image in one go. > > > > Signed-off-by: Shivamurthy Shastri <sshivamurthy@xxxxxxxxxx> > Reviewed-by: Avri Altman <avri.altman@xxxxxxx> Just one last note: Now that you are sending the entire fw in one go - need to check it does not exceeds MMC_IOC_MAX_BYTES. Thanks, Avri