]> git.sur5r.net Git - u-boot/commit
mmc: read ssr only if MMC write support is enabled
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 4 Jan 2018 14:23:33 +0000 (15:23 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 12 Jan 2018 09:11:24 +0000 (18:11 +0900)
commit5b2e72f32721484d2dea3d0dcf8c020bf3cbe574
tree3ef275f860354dcbb115081ee0dbe02c436eb68c
parentd6400c3f8520bb9a203fe397039279c80f093c27
mmc: read ssr only if MMC write support is enabled

The content of ssr is useful only for erase operations.
on ARM, removing sd_read_ssr() saves around 300 bytes.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/mmc/mmc.c
include/mmc.h