]> git.dujemihanovic.xyz Git - u-boot.git/commit
dfu: mmc: Add support for exposing whole mmc device
authorMarek Vasut <marex@denx.de>
Sun, 29 Oct 2023 22:37:22 +0000 (23:37 +0100)
committerMattijs Korpershoek <mkorpershoek@baylibre.com>
Tue, 31 Oct 2023 13:53:05 +0000 (14:53 +0100)
commit60d904a494c6e89c323bc13fa9348869e07e86d3
tree46cc4140fc6b86f68ae3e678a4381be21331d206
parent355aab94d1f675ec1118906e1f88dfdf6a3582eb
dfu: mmc: Add support for exposing whole mmc device

Add support for exposing the whole mmc device by setting the 'size'
parameter to 0. This can be useful in case it is not clear what the
total device size is up front. Update the documentation accordingly.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Link: https://lore.kernel.org/r/20231029223740.284149-1-marex@denx.de
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
doc/usage/dfu.rst
drivers/dfu/dfu_mmc.c