From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Fri, 24 Dec 2010 12:24:43 -0500 Subject: [U-Boot] [PATCH 0/4] generic mmc_spi driver In-Reply-To: <1293174969-18653-1-git-send-email-thomas@wytron.com.tw> References: <1293174969-18653-1-git-send-email-thomas@wytron.com.tw> Message-ID: <201012241224.44555.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday, December 24, 2010 02:16:05 Thomas Chou wrote: > This is the v9 update of the mmc_spi driver. Please enable DEBUG on the top > of mmc_spi.c and help me perform the tests. > > A new spi_set_speed() is added to meet the 400KHz clock requirement during > mmc card initialization. An example update to bfin_spi is included. The > altera_spi core does not support speed change, so I am going to post a new > opencore ip for this. this seems to work much nicer for me. only odd thing is that 'fatls' does not work if i dont 'mmcinfo' first. do you see the same ? maybe this is (currently) expected behavior ? from cold boot: bfin> mmc_spi 4 MMC_SPI: 0 at 0:4 hz 25000000 mode 0 bfin> fatls mmc 0:1 MMC: block number 0x1 exceeds max(0x0) ** Can't read from device 0 ** ** Unable to use mmc 0:1 for fatls ** bfin> mmcinfo Device: MMC_SPI Manufacturer ID: 0 OEM: 2 Name: card Tran Speed: 25000000 Rd Block Len: 512 SD version 1.0 High Capacity: No Capacity: 31326208 Bus Width: 1-bit bfin> fatls mmc 0:1 private/ bootmii/ 3041 installer.log apps/ 5213 readme-bootmii.txt 7273 readme-hbc.txt config/ 3 file(s), 4 dir(s) -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20101224/511e161d/attachment.pgp