From: Reinhard Meyer Date: Thu, 01 Jul 2010 21:19:40 +0200 Subject: [U-Boot] AT91SAM9xxx SDCard/MMC support? In-Reply-To: <4C2C79DB.7020609@emk-elektronik.de> References: <4C2C4B6A.60301@emk-elektronik.de> <4C2C7455.8080601@emk-elektronik.de> <4C2C79DB.7020609@emk-elektronik.de> Message-ID: <4C2CEA4C.6000008@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Reinhard Meyer (-VC) wrote: > *** the CSD Data is the same, the interpretation of > non-byte values is different. Looks like an alignment > or byteswap issue... > The issue has been solved: A bitfielded struct was effectively unioned with a u32 array... Bad by design. SD/MMC now works for 9260/9XE, probably for 9G20, too. After a bit more cleanup I will provide a patch.