[U-Boot] [PATCH 03/22] mmc: make ext_csd part of struct mmc
Simon Glass
sjg at chromium.org
Mon May 15 03:27:59 UTC 2017
On 12 May 2017 at 12:16, Jean-Jacques Hiblot <jjhiblot at ti.com> 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 <jjhiblot at ti.com>
> ---
> drivers/mmc/mmc.c | 22 +++++++++++++++++-----
> include/mmc.h | 1 +
> 2 files changed, 18 insertions(+), 5 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
But I think debug() is better than error() to avoid code bloat for
something that cannot happen.
More information about the U-Boot
mailing list