summaryrefslogtreecommitdiff
path: root/include/mmc.h
diff options
context:
space:
mode:
authorJean-Jacques Hiblot <jjhiblot@ti.com>2017-09-21 16:29:51 +0200
committerJaehoon Chung <jh80.chung@samsung.com>2018-01-12 18:11:03 +0900
commitdfda9d88e5062620952956f7ed8e2a31ceffa6e6 (patch)
tree9706d4151fd3870f7d7258464f6e6732015f98c7 /include/mmc.h
parentc744b6f6dcf6054f4eb8ff2428edb6ba408c4a46 (diff)
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>
Diffstat (limited to 'include/mmc.h')
-rw-r--r--include/mmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 188dc749dd..7d2b363acb 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -462,6 +462,7 @@ struct mmc {
struct udevice *vqmmc_supply; /* IO voltage regulator (Vccq)*/
#endif
#endif
+ u8 *ext_csd;
};
struct mmc_hwpart_conf {