commit | 2c4097c05bf4905699ed9549e25428cb31a62c3f | [log] [tgz] |
---|---|---|
author | Yannick Gicquel <yannick.gicquel@iot.bzh> | Mon Apr 04 11:49:59 2016 +0200 |
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | Wed Aug 17 10:25:35 2016 +0900 |
tree | 69061aaad997395b3a525f2e23fa3fe4557562a3 | |
parent | 0181c337bb382a0b29cec0862ff18463615b5db7 [diff] |
mmc: rmobile: add a compiler barrier Building w/ GCC v5.2, the SD card access is broken due to invalid data in the response command reconstructed at the end of sh_sdhci_get_response(). Add a memory barrier between the two main steps of this function to ensure the resp[] table content is consistent before bits reordering. This fix has been tested Ok on Porter board rev1.0 using v2016.03 release. Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>