commit | bf83662ba3a8586e52d3cfee1d82d5e06b61eefc | [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 | d48d2e21d4cec0f1ae70287a6d32413d3262675c [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>