[U-Boot] [PATCH v2.1] PXA: New MMC driver

Marek Vasut marek.vasut at gmail.com
Wed Aug 11 02:13:22 CEST 2010


Dne Út 10. srpna 2010 23:08:15 Wolfgang Denk napsal(a):
> Dear Marek Vasut,
> 
> In message <1281119471-30895-1-git-send-email-marek.vasut at gmail.com> you 
wrote:
> > The new driver is a complete rewrite. It uses the MMC framework and
> > should support both pxa2xx and pxa3xx.
> 
> Did you even compile test this driver?
> 
> > Tested on:
> > - Palm Tungsten|C	PXA255
> > - Aeronix ZipitZ2	PXA270
> > - Marvell Zylonite 300	PXA300
> 
> Really?
> 
All right, not the version where I added requested changes. I fixed it in my 
tree, any other problems with this or is this all? Sorry for causing you so many 
trouble.

> I would expect the compiler throws a bunch of error messages due to
> missing semicolons, like
> 
> > +	ret = pxa_mmc_wait(MMC_STAT_CLK_EN)
> > +	if (ret)
> > +		return ret;
> 
> here.
> 
> > +	ret = pxa_mmc_wait(MMC_STAT_DATA_TRAN_DONE)
> > +	if (ret)
> > +		return ret;
> 
> And here.
> 
> > +	ret = pxa_mmc_wait(MMC_STAT_DATA_TRAN_DONE)
> > +	if (ret)
> > +		return ret;
> 
> And here.
> 
> > +	/* Wait until the data are really written to the card */
> > +	ret = pxa_mmc_wait(MMC_STAT_PRG_DONE)
> > +	if (ret)
> > +		return ret;
> 
> And here.
> 
> > +	ret = pxa_mmc_wait(MMC_STAT_END_CMD_RES)
> > +	if (ret)
> > +		return ret;
> 
> And here.
> 
> 
> Does this really compile for you?
> 
> Best regards,
> 
> Wolfgang Denk


More information about the U-Boot mailing list