]> git.sur5r.net Git - u-boot/commit
mmc: tegra: don't use periph_id in pad_init_mmc()
authorStephen Warren <swarren@nvidia.com>
Tue, 13 Sep 2016 16:45:45 +0000 (10:45 -0600)
committerTom Warren <twarren@nvidia.com>
Tue, 27 Sep 2016 16:11:01 +0000 (09:11 -0700)
commit6138d5b6828ee8ebb36aef7302d3c171d87f3157
tree04d68e91ed7ce57c1ca872f90390d4c84bad7d22
parent6b83588eea77c6fe69c11ba9e5eb2df071b1dadc
mmc: tegra: don't use periph_id in pad_init_mmc()

The MMC driver will soon be converted to use standard clock/reset APIs,
and so the periph_id field in the MMC device priv struct will disappear.
Rework the implementation of pad_init_mmc() to rely on this; using the
device register address is a much more direct test anyway.

Cc: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
drivers/mmc/tegra_mmc.c