diff options
author | Yannick Gicquel <yannick.gicquel@iot.bzh> | 2016-04-04 11:49:59 +0200 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2016-08-17 10:25:35 +0900 |
commit | 759319468505f4b6179c5fc4e3a682f2b2f44b3c (patch) | |
tree | 69061aaad997395b3a525f2e23fa3fe4557562a3 /arch/arm/mach-sunxi | |
parent | 4ebaba55a49ab403f2f771b6f76f8a5a42a93ea4 (diff) | |
download | u-boot-imx-759319468505f4b6179c5fc4e3a682f2b2f44b3c.zip u-boot-imx-759319468505f4b6179c5fc4e3a682f2b2f44b3c.tar.gz u-boot-imx-759319468505f4b6179c5fc4e3a682f2b2f44b3c.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/mach-sunxi')
0 files changed, 0 insertions, 0 deletions