mmc: make ext_csd part of struct mmc
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 12 May 2017 18:16:21 +0000 (20:16 +0200)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:09 +0000 (02:37 +0800)
commitfa1830d0191b02fde1435946f53817f97e18e0aa
tree4af82a208226bd933437077141dbcb331561aa76
parent1b227a3bebd32e9b88cb9cb12f4f7483ffb5df48
mmc: make ext_csd part of struct mmc

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@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mmc/mmc.c
include/mmc.h