[U-Boot] [PATCH 25/25] mmc: Add hardware partition support

Simon Glass sjg at chromium.org
Sun Nov 18 21:23:03 UTC 2018


Hi Faiz,
On Wed, 7 Nov 2018 at 00:36, Faiz Abbas <faiz_abbas at ti.com> wrote:
>
> Hi Simon,
>
> On Wednesday 07 November 2018 03:51 AM, Simon Glass wrote:
> > MMC devices support multiple partitions, defined by the hardware. At
> > present U-Boot can only access partition zero. Add support for selecting
> > other partitions.
> >
>
> There is already support to switch to another hardware partition.
>
> See: mmc_select_hwpart()
>
> Is this not the same thing?

That is in the legacy MMC code and will be removed soon. I thought
these functions were already present, but didn't think to look in
mmc_legacy.c

So I think we do need this patch, or something like it.

Regards,
Simon


More information about the U-Boot mailing list