dm: blk: Add functions to select a hardware partition
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 19:52:30 +0000 (13:52 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commitcd0fb55b640b2991c1d29122d252a360037ed903
tree65333e1eec999d760682765b6913d9ec0d94abb5
parent69f45cd53b8ad8bc3afef2cf2410baf58fe75a6f
dm: blk: Add functions to select a hardware partition

The block device uclass does not currently support selecting a particular
hardware partition but this is needed for MMC. Add it so that the blk API
can support MMC properly.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/block/blk-uclass.c
include/blk.h