[U-Boot] [PATCH 1/4] mmc: Change board_mmc_getcd() signature.
Marek Vasut
marek.vasut at gmail.com
Mon Dec 5 10:53:48 CET 2011
> 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 at avionic-design.de>
A silly question -- why do we need this change ? Can you explain it in the
changelog of V2 too?
M
More information about the U-Boot
mailing list