Skip to content
Commit bf83662b authored by Thierry Reding's avatar Thierry Reding Committed by Andy Fleming
Browse files

mmc: tegra2: Implement card-detect hook.



On Tegra2, card-detection is implemented by passing the card-detection
GPIOs to the MMC driver at initialization time. Instead of implementing
the board_mmc_getcd() function, use the card-detect hook and allow
boards to override it by providing their own board_mmc_getcd()
implementation.

Signed-off-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
parent d48d2e21
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment