d7b343fd262880994f041ce2335442e7bd1071f5
FFU used the wrong assumption, that CMD23 work in
4k sector chunks when setting the block count.
Instead the CMD23 block count argument just needs
to be a multiple of 8, which the fw_size is anyway.
Fixes: 89cd01ed86 (mmc_utils: add ffu support)
Signed-off-by: Christian Loehle <cloehle@hyperstone.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/54477cf05b9148109996dd85c9afc30f@hyperstone.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
MMC tools (mmc-utils) ===================== mmc-utils is a tool for configuring MMC storage devices from userspace. Contribution guidelines ----------------------- The project works using a mailing list patch submission process, similar to the process used for the Linux kernel itself. One can document themselves by reading how to submit a patch in the official Linux kernel documentation: https://www.kernel.org/doc/html/latest/process/submitting-patches.html Not all sections apply but it should be a good way to get started. A patch should be sent as a mail (not as an attachement, see documentation above) to the linux-mmc@vger.kernel.org mailing list with maintainers as Cc recipients. Maintainers ----------- Avri Altman <avri.altman@wdc.com> Ulf Hansson <ulf.hansson@linaro.org> License ------- This project is licensed under GPL-2.0-only.