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

@@ -3,6 +3,9 @@
* Copyright (C) 2018-2019 Intel Corporation <www.intel.com>
*
*/
#define LOG_CATEGORY UCLASS_FS_FIRMWARE_LOADER
#include <common.h>
#include <dm.h>
#include <env.h>

View File

@@ -3,6 +3,8 @@
* Copyright (c) 2014 Google, Inc
*/
#define LOG_CATEGORY UCLASS_I2C_EEPROM
#include <common.h>
#include <eeprom.h>
#include <linux/delay.h>

View File

@@ -3,6 +3,8 @@
* Copyright (C) 2010 Thomas Chou <thomas@wytron.com.tw>
*/
#define LOG_CATEGORY UCLASS_MISC
#include <common.h>
#include <dm.h>
#include <errno.h>

View File

@@ -6,6 +6,8 @@
* Written by Simon Glass <sjg@chromium.org>
*/
#define LOG_CATEGORY UCLASS_P2SB
#include <common.h>
#include <dm.h>
#include <log.h>

View File

@@ -3,6 +3,8 @@
* Copyright (c) 2015 Google, Inc
*/
#define LOG_CATEGORY UCLASS_PWRSEQ
#include <common.h>
#include <dm.h>
#include <pwrseq.h>