[U-Boot] [PATCH 22/30] dm: blk: Add a block-device uclass

Bin Meng bmeng.cn at gmail.com
Wed Feb 17 05:49:54 CET 2016


On Mon, Feb 15, 2016 at 10:16 AM, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
>  drivers/block/Kconfig      |  11 +++
>  drivers/block/Makefile     |   2 +
>  drivers/block/blk-uclass.c | 175 +++++++++++++++++++++++++++++++++++++++++++++
>  include/blk.h              | 145 +++++++++++++++++++++++++++++++++++++
>  include/dm/uclass-id.h     |   1 +
>  5 files changed, 334 insertions(+)
>  create mode 100644 drivers/block/blk-uclass.c
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list