
5 Dec
2011
5 Dec
'11
10:53 a.m.
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