mmc: compile out erase and write mmc commands if write operations are not enabled
Also remove erase_grp_size and write_bl_len from struct mmc as they are
not used anymore. On ARM, removing them saves about 100 bytes of code
space in SPL.
Signed-off-by:
Jean-Jacques Hiblot <jjhiblot@ti.com>
Loading
Please register or sign in to comment