dm: mmc: Don't re-init when accessing environment
authorSimon Glass <sjg@chromium.org>
Mon, 24 Apr 2017 02:02:04 +0000 (20:02 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:04 +0000 (07:03 -0600)
commite7017a3c7d2f9ff845516675205c99df4ad6eacc
tree35b761f3374fc2a6bf1b383d1d313d13c1f8b2ab
parent05cbeb7c3612da8d4bafa82be05092450a500052
dm: mmc: Don't re-init when accessing environment

With driver model MMC is probed automatically when needed. We should not
re-init MMC each time.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/env_mmc.c