]> git.baikalelectronics.ru Git - uboot.git/commit
dm: mmc: Ensure that block device is probed
authorSimon Glass <sjg@chromium.org>
Sat, 27 May 2017 17:37:18 +0000 (11:37 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 9 Jun 2017 11:25:16 +0000 (20:25 +0900)
commite9b6a5908c38e51157a6fb9db64defabaab48296
treed9ca715b1a51b3262d9d08b139fa75e09c7d8703
parentf9c583af69436a9b21137ab38bfd3715cc29d968
dm: mmc: Ensure that block device is probed

Make sure that we probe the block device before using it when reading
the environment.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/env_mmc.c