On 12 May 2017 at 12:16, Jean-Jacques Hiblot <[email protected]> wrote:
> The ext csd is used for comparison many times. Keep a reference content
> of the ext csd in the struct mmc to avoid reading multiple times
>
> Signed-off-by: Jean-Jacques Hiblot <[email protected]>
> ---
>  drivers/mmc/mmc.c | 22 +++++++++++++++++-----
>  include/mmc.h     |  1 +
>  2 files changed, 18 insertions(+), 5 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

But I think debug() is better than error() to avoid code bloat for
something that cannot happen.
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to