[U-Boot] [PATCH v2 05/12] dm: core: Add a function to get a uclass name

Bin Meng bmeng.cn at gmail.com
Sat Oct 8 06:23:47 CEST 2016


On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass <sjg at chromium.org> wrote:
> It is useful in debug() statements to display the name of the uclass for a
> device. Add a simple function to provide this.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v2:
> - Fix typo drive -> driver
>
>  drivers/core/uclass.c | 9 +++++++++
>  include/dm/uclass.h   | 8 ++++++++
>  2 files changed, 17 insertions(+)
>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list