mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
committed by
Simon Glass
parent
85f718f64d
commit
b953ec2bca
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
* Copyright (c) 2015 Google, Inc
|
||||
*/
|
||||
|
||||
#define LOG_CATEGORY UCLASS_PWRSEQ
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <pwrseq.h>
|
||||
|
||||
Reference in New Issue
Block a user