[PATCH v2 1/7] common: avb_verify: don't call mmc_switch_part for SD
Igor Opaniuk
igor.opaniuk at gmail.com
Mon Feb 12 09:05:52 CET 2024
Hi Dan,
On Mon, Feb 12, 2024 at 8:05 AM Dan Carpenter <dan.carpenter at linaro.org> wrote:
>
> On Fri, Feb 09, 2024 at 08:20:39PM +0100, Igor Opaniuk wrote:
> > From: Igor Opaniuk <igor.opaniuk at gmail.com>
> >
> > 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.
> >
>
> Is this a clean up or a bugfix? What are the visible effects for the
> user?
avb cmd fails for SD cards, as mmc_switch_part() fails after trying to access
EXT_CSD register, which obviously is not available.
>
> regards,
> dan carpenter
>
--
Best regards - Atentamente - Meilleures salutations
Igor Opaniuk
mailto: igor.opaniuk at gmail.com
skype: igor.opanyuk
http://ua.linkedin.com/in/iopaniuk
More information about the U-Boot
mailing list