dm: define LOG_CATEGORY for all uclass

Define LOG_CATEGORY for all uclass to allow filtering with
log command.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Patrick Delaunay
2021-04-27 11:02:19 +02:00
committed by Simon Glass
parent 85f718f64d
commit b953ec2bca
77 changed files with 157 additions and 0 deletions

View File

@@ -6,6 +6,8 @@
* Pavel Herrmann <morpheus.ibis@gmail.com>
*/
#define LOG_CATEGORY UCLASS_ROOT
#include <common.h>
#include <errno.h>
#include <fdtdec.h>

View File

@@ -3,6 +3,8 @@
* Copyright (c) 2014 Google, Inc
*/
#define LOG_CATEGORY UCLASS_SIMPLE_BUS
#include <common.h>
#include <asm/global_data.h>
#include <dm.h>