On 12 May 2017 at 12:16, Jean-Jacques Hiblot <jjhib...@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 <jjhib...@ti.com> > --- > drivers/mmc/mmc.c | 22 +++++++++++++++++----- > include/mmc.h | 1 + > 2 files changed, 18 insertions(+), 5 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> But I think debug() is better than error() to avoid code bloat for something that cannot happen. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot