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>
This commit is contained in:
Jean-Jacques Hiblot 2017-09-21 16:29:51 +02:00 committed by Jaehoon Chung
parent c744b6f6dc
commit dfda9d88e5
2 changed files with 18 additions and 5 deletions

View file

@ -462,6 +462,7 @@ struct mmc {
struct udevice *vqmmc_supply; /* IO voltage regulator (Vccq)*/
#endif
#endif
u8 *ext_csd;
};
struct mmc_hwpart_conf {