[U-Boot] [PATCH v2 40/44] dm: blk: Allow blk_create_device() to allocate the device number

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


On 1 May 2016 at 11:36, Simon Glass <sjg at chromium.org> wrote:
> Allow a devnum parameter of -1 to indicate that the device number should be
> alocated automatically. The next highest available device number for that
> interface type is used.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  drivers/block/blk-uclass.c | 29 +++++++++++++++++++++++++++++
>  include/blk.h              | 15 ++++++++++++++-
>  2 files changed, 43 insertions(+), 1 deletion(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list