]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fix for old MMCs (below version 4)
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 30 Nov 2017 16:43:58 +0000 (17:43 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 12 Jan 2018 09:11:04 +0000 (18:11 +0900)
commit1de06b9fa5871b75012307ea736c8a43edf5a888
treeb469ffe717befa61963e7c952566184eb9f98c89
parent1da8eb598fb7fd631483a7db0a42d5de286f98a5
mmc: fix for old MMCs (below version 4)

The ext_csd is allocated only for MMC above version 4. The compare will
crash or fail for older MMCs.

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