From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2.1] PXA: New MMC driver
Date: Tue, 10 Aug 2010 23:08:15 +0200 [thread overview]
Message-ID: <20100810210815.19F09207@gemini.denx.de> (raw)
In-Reply-To: <1281119471-30895-1-git-send-email-marek.vasut@gmail.com>
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?
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
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The complexity of software is an essential property, not an acciden-
tal one. Hence, descriptions of a software entity that abstract away
its complexity often abstract away its essence. - Fred Brooks, Jr.
next prev parent reply other threads:[~2010-08-10 21:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-06 18:31 [U-Boot] [PATCH v2.1] PXA: New MMC driver Marek Vasut
2010-08-10 21:08 ` Wolfgang Denk [this message]
2010-08-11 0:13 ` Marek Vasut
2010-08-11 3:50 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100810210815.19F09207@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.