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

Simon Glass sjg at chromium.org
Sun Mar 13 02:53:18 CET 2016


On 29 February 2016 at 15:25, 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>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v2: None
>
>  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

Applied to u-boot-dm/next.


More information about the U-Boot mailing list