]> git.sur5r.net Git - u-boot/commit
mmc: reworked version lookup in mmc_startup_v4
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 4 Jan 2018 14:23:31 +0000 (15:23 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 12 Jan 2018 09:11:24 +0000 (18:11 +0900)
commit58a6fb7b04963d1bf353b66e27f3084037babd6c
tree37cf2e0272ab7da369260a602d365fcc09d1859c
parentbaef2070a407f14fbab10312b509732e6d104590
mmc: reworked version lookup in mmc_startup_v4

Using a table versus a switch() structure saves a bit of space

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