[U-Boot] [PATCH v2 41/44] dm: blk: Add a easier way to create a named block device

Simon Glass sjg at chromium.org
Sat May 14 21:36:59 CEST 2016


On 1 May 2016 at 11:36, Simon Glass <sjg at chromium.org> wrote:
> Add a function that automatically builds the device name given the parent
> and a supplied string. Most callers will want to do this, so putting this
> functionality in one place makes more sense.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  common/usb_storage.c       | 13 +++++--------
>  drivers/block/blk-uclass.c | 15 +++++++++++++++
>  include/blk.h              | 17 +++++++++++++++++
>  3 files changed, 37 insertions(+), 8 deletions(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list