From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 5 Dec 2011 10:53:48 +0100 Subject: [U-Boot] [PATCH 1/4] mmc: Change board_mmc_getcd() signature. In-Reply-To: <1323073424-16656-1-git-send-email-thierry.reding@avionic-design.de> References: <1323073424-16656-1-git-send-email-thierry.reding@avionic-design.de> Message-ID: <201112051053.49109.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 A silly question -- why do we need this change ? Can you explain it in the changelog of V2 too? M