Christian Löhle d7b343fd26 mmc-utils: Fix 4k sector size block count in FFU
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>
2022-07-13 12:57:35 +02:00
2018-02-16 20:19:35 -05:00
2015-03-24 22:09:55 -04:00
2022-01-25 17:19:41 +01:00

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.
S
Description
No description provided
Readme
186 KiB
0 Stars 1 Watchers 0 Forks
2023-07-31 14:04:52 +00:00
Languages
C 99%
Makefile 1%