From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 11 Aug 2010 02:13:22 +0200 Subject: [U-Boot] [PATCH v2.1] PXA: New MMC driver In-Reply-To: <20100810210815.19F09207@gemini.denx.de> References: <1281119471-30895-1-git-send-email-marek.vasut@gmail.com> <20100810210815.19F09207@gemini.denx.de> Message-ID: <201008110213.22613.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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@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