]> git.baikalelectronics.ru Git - uboot.git/commit
dfu: mmc: use the default MMC device if entity specifies it as -1
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 22 Dec 2020 10:32:20 +0000 (11:32 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 31 Jan 2021 13:08:56 +0000 (14:08 +0100)
commiteeb0c47cbfb7c4ef7d8641b6ee79f8b36cd63b1c
treef704a6adf705e6b5606cc1c9a5e56aaa5b9c73c7
parent054960bea31112ecd2730441709436ed8588c15b
dfu: mmc: use the default MMC device if entity specifies it as -1

Use the default MMC device set in the command line if entity specifies it
as -1. This allows to use the same dfu_alt_info string for different MMC
devices (like embedded eMMC and external SD card if data layout is the
same on both devices).

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
drivers/dfu/dfu_mmc.c