diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2018-01-04 15:23:35 +0100 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2018-01-12 18:11:24 +0900 |
commit | 173c06dfcc5419e38160d7eaf596256df0b4bdd5 (patch) | |
tree | da28cfa00f4361fc1a775289a52d19beecea06d1 /include/mmc.h | |
parent | e6fa5a546154a42c4f6662cd8890c238207ce21a (diff) | |
download | u-boot-midas-173c06dfcc5419e38160d7eaf596256df0b4bdd5.tar.gz u-boot-midas-173c06dfcc5419e38160d7eaf596256df0b4bdd5.tar.bz2 u-boot-midas-173c06dfcc5419e38160d7eaf596256df0b4bdd5.zip |
mmc: don't read the size of eMMC enhanced user data area in SPL
This information is only used by the "mmc info" command.
On ARM removing this information from SPL saves about 140 of code space.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Diffstat (limited to 'include/mmc.h')
-rw-r--r-- | include/mmc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h index 3abeb581ae..cd068b9429 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -598,8 +598,10 @@ struct mmc { u64 capacity_boot; u64 capacity_rpmb; u64 capacity_gp[4]; +#ifndef CONFIG_SPL_BUILD u64 enh_user_start; u64 enh_user_size; +#endif #if !CONFIG_IS_ENABLED(BLK) struct blk_desc block_dev; #endif |