From c64d2192b7fffd03a4be3af9ac36b9c3714622a4 Mon Sep 17 00:00:00 2001 From: NicJA Date: Sat, 23 Mar 2013 20:33:44 +0000 Subject: [PATCH] re-enable atomic access since it is required (quirk was broken in main sdcard.device code) - otherwise long access to the command/transfer registers results in premature/spurious transfers. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@47058 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- arch/arm-raspi/devs/sdcard/sdcard_bcm2835init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm-raspi/devs/sdcard/sdcard_bcm2835init.c b/arch/arm-raspi/devs/sdcard/sdcard_bcm2835init.c index dcd8bc57a9..a5d8ba29d0 100644 --- a/arch/arm-raspi/devs/sdcard/sdcard_bcm2835init.c +++ b/arch/arm-raspi/devs/sdcard/sdcard_bcm2835init.c @@ -134,7 +134,7 @@ static int FNAME_BCMSDC(BCM2835Init)(struct SDCardBase *SDCardBase) __BCM2835Bus->sdcb_Version = FNAME_BCMSDCBUS(BCMMMIOReadWord)(SDHCI_HOST_VERSION, __BCM2835Bus); __BCM2835Bus->sdcb_Capabilities = FNAME_BCMSDCBUS(BCMMMIOReadLong)(SDHCI_CAPABILITIES, __BCM2835Bus); - __BCM2835Bus->sdcb_Quirks = AB_Quirk_MissingCapabilities; + __BCM2835Bus->sdcb_Quirks = AB_Quirk_MissingCapabilities|AF_Quirk_AtomicTMAndCMD; __BCM2835Bus->sdcb_Power = MMC_VDD_165_195 | MMC_VDD_320_330 | MMC_VDD_330_340; DINIT(bug("[SDCard--] %s: SDHCI Host Vers : %d [SD Host Spec %d]\n", __PRETTY_FUNCTION__, ((__BCM2835Bus->sdcb_Version & 0xFF00) >> 8), (__BCM2835Bus->sdcb_Version & 0xFF) + 1)); -- 2.11.4.GIT