
26 Jan
2018
26 Jan
'18
10:42 p.m.
On 28 December 2017 at 13:14, Simon Glass sjg@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@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