[U-Boot] [PATCH 2/2] mmc: dw_mmc: Make timeout error visible to u-boot console
Simon Glass
sjg at chromium.org
Sat Aug 29 01:21:51 CEST 2015
Hi Lukasz,
On 28 August 2015 at 07:50, Lukasz Majewski <l.majewski at samsung.com> wrote:
>
> The timeout error for DW MMC transfer should be visible on the u-boot
> console to speed up the process of debugging.
>
> Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Simon Glass <sjg at chromium.org>
> ---
> drivers/mmc/dw_mmc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Can this be reported at the command line level instead? It feels wrong
to be printing errors in a driver. Also, why does it return TIMEOUT
instead of -ETIMEOUT?
Regards,
Simon
More information about the U-Boot
mailing list