From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: Reading/Writing to MMC without interrupt handler Date: Mon, 3 Apr 2006 07:24:01 -0700 Message-ID: <20060403142359.GB13009@atomide.com> References: <200604011304.36250.husamsenussi@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200604011304.36250.husamsenussi@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: Husam Cc: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org * Husam [060401 04:53]: > Hi, > > I guess this stupid question, but I'm going to asked anyway :) > > I'm adding ipaq h6300 support to u-boot which based OMAP1510 processer, I want > to allow u-boot to load an kernel image from MMC/SD card. > > I did make the changes but I'm having problem reading from the MMC card > (Getting Data Timeout) , > > At the moment I'm polling for the status without using irq, and that seems to > work for configuring the card and reading manufacturer information like date, > serial number etc. > > mca_vsn : 03 > cmdclass : 1F5 > tacc_clks: 00 > tacc_ns : 4C4B400 > max_dtr : 1312D00 > read_blkbits: 9 > capacity : 1003520 > Manufacturer ID = 0000049A > HW/FW Revision = 0 0 > Product Name = MMC > Serial Number = 0000049a > Month = 12 > Year = 2004 > > My question is it passible to do that without having to enable irq and using > interrupt handler? Yes, it should be doable. Tony