dm: blk: Add a block-device uclass
authorSimon Glass <sjg@chromium.org>
Mon, 29 Feb 2016 22:25:55 +0000 (15:25 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 14 Mar 2016 21:34:50 +0000 (15:34 -0600)
commit09d71aac7b530f03ec29cc9d5787047460a629ca
tree263a9297721b617bcc8dbd947bad061877657739
parent9807c3b78a4a2f1f33daf9432ef222d5ce0bbafc
dm: blk: Add a block-device uclass

Add a uclass for block devices. These provide block-oriented data access,
supporting reading, writing and erasing of whole blocks.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
drivers/block/Kconfig
drivers/block/Makefile
drivers/block/blk-uclass.c [new file with mode: 0644]
include/blk.h
include/dm/uclass-id.h