[U-Boot] [PATCH 07/10] dm: mmc: Try to honour the sequence order

Simon Glass sjg at chromium.org
Sat Jan 16 02:25:50 CET 2016


On 29 December 2015 at 05:22, Simon Glass <sjg at chromium.org> wrote:
> At present we add driver-model MMC devices in the order we find them. The
> 'alias' order is not honoured.
>
> It is difficult to fix this for the case where we have holes in the
> sequence. But for the common case where the devices are numbered from 0
> without any gaps, we can add the devices to the internal data structures
> in this order.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/mmc/mmc.c | 20 +++++++++++++++-----
>  1 file changed, 15 insertions(+), 5 deletions(-)

Applied to u-boot-dm


More information about the U-Boot mailing list