]> granicus.if.org Git - esp-idf/commit
sdmmc: don’t flip word order in MMC_RSP_BITS
authorIvan Grokhotkov <ivan@espressif.com>
Wed, 12 Jul 2017 11:44:17 +0000 (19:44 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Wed, 16 Aug 2017 10:59:04 +0000 (18:59 +0800)
commite6258ac6cbf0a0453a3701cc1438c6b5d40a61d3
tree94e6fe64e6b3765d0a5c3ff73df4eda3ee762ed7
parent159a2d01d1de6af74e107da523255dcab6deab21
sdmmc: don’t flip word order in MMC_RSP_BITS

MMC_RSP_BITS helper function had a hack that it flipped word order in
the response, assuming that response size is 4 words. This hack does not
work for responses which are not 4 words long (such as the SWITCH_FUNC
response, which is 64 words long).

This change removes the hack and the matching word order reversal code
in sdmmc driver.
components/driver/include/driver/sdmmc_defs.h
components/driver/sdmmc_transaction.c
components/sdmmc/sdmmc_cmd.c
components/sdmmc/test/test_sd.c