[U-Boot] [PATCH 1/9] dm: core: Add a function to look up a uclass by name

Simon Glass sjg at chromium.org
Fri Jan 26 21:42:37 UTC 2018


On 28 December 2017 at 13:14, Simon Glass <sjg at chromium.org> wrote:
> Each uclass has a driver name which we can use to look up the uclass. This
> is useful for logging, where the uclass ID is used as the category.
>
> Add a function to handle this, as well as a test.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/core/uclass.c | 14 ++++++++++++++
>  include/dm/uclass.h   |  8 ++++++++
>  test/dm/core.c        |  9 +++++++++
>  3 files changed, 31 insertions(+)
>

Applied to u-boot-dm


More information about the U-Boot mailing list