[U-Boot] [PATCH 1/2] mmc: mmc_getcd/getwp: use sensible defaults

Tom Rini trini at ti.com
Thu Mar 21 15:24:31 CET 2013


On Thu, Mar 21, 2013 at 03:00:03PM +0100, Peter Korsgaard wrote:

> Let mmc_getcd() return true and mmc_getwp() false if mmc driver doesn't
> provide handlers for them.
> 
> Signed-off-by: Peter Korsgaard <peter.korsgaard at barco.com>

Do we really need to do this?  It seems like we should be working
correctly here already, or we also need to fixup the weak function
and/or the callers too.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130321/48683a45/attachment.pgp>


More information about the U-Boot mailing list