[U-Boot] [PATCH 1/4] mmc: Change board_mmc_getcd() signature.

Marek Vasut
2011-12-05T09:53:48Z

> The new API no longer uses the extra cd parameter that was used to store
> the card presence state. Instead, this information is returned via the
> function's return value. board_mmc_getcd() returns -1 to indicate that
> no card-detection mechanism is implemented; 0 indicates that no card is
> present and 1 is returned if it was detected that a card is present.
>
> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>

A silly question -- why do we need this change ? Can you explain it in the
changelog of V2 too?

M