]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: avb_verify: don't call mmc_switch_part for SD
authorIgor Opaniuk <igor.opaniuk@gmail.com>
Fri, 9 Feb 2024 19:20:39 +0000 (20:20 +0100)
committerMattijs Korpershoek <mkorpershoek@baylibre.com>
Thu, 15 Feb 2024 09:38:34 +0000 (10:38 +0100)
commitc2f72d00ab88402038d3c9625124575715acdf4f
treeaa260f80a301373d38af40568f0b6cf89eeea1bf
parentcfbeb4b0b91bc9f807f6cefcc5bb0a52f2ba3e64
common: avb_verify: don't call mmc_switch_part for SD

mmc_switch_part() is used for switching between hw partitions
on eMMC (boot0, boot1, user, rpmb).
There is no need to do that for SD card.

This fixes the avb command usage on SD cards.

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Igor Opaniuk <igor.opaniuk@gmail.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/20240209192045.3961832-2-igor.opaniuk@foundries.io
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
common/avb_verify.c