mmc: use new hwpart API when CONFIG_BLK enabled
authorKever Yang <kever.yang@rock-chips.com>
Thu, 8 Jun 2017 01:20:03 +0000 (09:20 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 19 Jul 2017 10:13:59 +0000 (19:13 +0900)
commit4dc80c8732f0fe971669a8440abd78c42bd1367c
treec4a4513254dc2f29016ddc09db457f7c204a74ff
parent2710d54f54bb2242e81a23930b4e954654800d1f
mmc: use new hwpart API when CONFIG_BLK enabled

When CONFIG_BLK is enabled, the hwpart id is different with legacy
interface, update it to kame driver work with CONFIG_BLK.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
cmd/mmc.c