commit | f14941199cf7d10bb5e06d14ad0137e467117b7b | [log] [tgz] |
---|---|---|
author | Thierry Reding <thierry.reding@avionic-design.de> | Mon Jan 02 01:15:39 2012 +0000 |
committer | Andy Fleming <afleming@freescale.com> | Sun Jan 08 21:28:28 2012 -0600 |
tree | 52f4541d6dae623210ec3232d5b69a7b6027cc6d | |
parent | 8cee4c9894848f4043685393ac432d944fae21da [diff] |
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: Thierry Reding <thierry.reding@avionic-design.de>