mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
mmc: remove hc_wp_grp_size from struct mmc if not needed
hc_wp_grp_size is needed only if hardware partitionning is used. On ARM removing it saves about 30 bytes of code space. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
This commit is contained in:
committed by
Jaehoon Chung
parent
173c06dfcc
commit
b7a6e2c9c3
@@ -589,7 +589,9 @@ struct mmc {
|
||||
uint write_bl_len;
|
||||
uint erase_grp_size; /* in 512-byte sectors */
|
||||
#endif
|
||||
#if CONFIG_IS_ENABLED(MMC_HW_PARTITIONING)
|
||||
uint hc_wp_grp_size; /* in 512-byte sectors */
|
||||
#endif
|
||||
#if CONFIG_IS_ENABLED(MMC_WRITE)
|
||||
struct sd_ssr ssr; /* SD status register */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user