diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2017-09-21 16:29:51 +0200 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2018-01-12 18:11:03 +0900 |
commit | dfda9d88e5062620952956f7ed8e2a31ceffa6e6 (patch) | |
tree | 9706d4151fd3870f7d7258464f6e6732015f98c7 /include | |
parent | c744b6f6dcf6054f4eb8ff2428edb6ba408c4a46 (diff) | |
download | u-boot-dfda9d88e5062620952956f7ed8e2a31ceffa6e6.tar.gz u-boot-dfda9d88e5062620952956f7ed8e2a31ceffa6e6.tar.bz2 u-boot-dfda9d88e5062620952956f7ed8e2a31ceffa6e6.zip |
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')
-rw-r--r-- | include/mmc.h | 1 |
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 { |