Skip to content
Snippets Groups Projects
Commit b953ec2b authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Simon Glass
Browse files

dm: define LOG_CATEGORY for all uclass


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

Signed-off-by: Patrick Delaunay's avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent 85f718f6
No related branches found
No related tags found
No related merge requests found
Showing
with 40 additions and 0 deletions
......@@ -4,6 +4,8 @@
* Przemyslaw Marczak <p.marczak@samsung.com>
*/
#define LOG_CATEGORY UCLASS_ADC
#include <common.h>
#include <errno.h>
#include <div64.h>
......
......@@ -4,6 +4,8 @@
* Written by Simon Glass <sjg@chromium.org>
*/
#define LOG_CATEGORY UCLASS_AHCI
#include <common.h>
#include <ahci.h>
#include <dm.h>
......
......@@ -4,6 +4,8 @@
* Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
*/
#define LOG_CATEGORY UCLASS_AXI_EMUL
#include <common.h>
#include <axi.h>
#include <dm.h>
......
......@@ -4,6 +4,8 @@
* Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
*/
#define LOG_CATEGORY UCLASS_AXI
#include <common.h>
#include <dm.h>
#include <axi.h>
......
......@@ -4,6 +4,8 @@
* Written by Simon Glass <sjg@chromium.org>
*/
#define LOG_CATEGORY UCLASS_BLK
#include <common.h>
#include <blk.h>
#include <dm.h>
......
......@@ -4,6 +4,8 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#define LOG_CATEGORY UCLASS_IDE
#include <common.h>
#include <ata.h>
#include <blk.h>
......
......@@ -3,6 +3,8 @@
* (C) Copyright 2018 Theobroma Systems Design und Consulting GmbH
*/
#define LOG_CATEGORY UCLASS_BOOTCOUNT
#include <common.h>
#include <dm.h>
#include <errno.h>
......
......@@ -5,6 +5,8 @@
* Based on led-uclass.c
*/
#define LOG_CATEGORY UCLASS_BUTTON
#include <common.h>
#include <button.h>
#include <dm.h>
......
......@@ -3,6 +3,8 @@
* Copyright (C) 2019 Intel Corporation <www.intel.com>
*/
#define LOG_CATEGORY UCLASS_CACHE
#include <common.h>
#include <cache.h>
#include <dm.h>
......
......@@ -6,6 +6,8 @@
* Copyright (c) 2018, Theobroma Systems Design und Consulting GmbH
*/
#define LOG_CATEGORY UCLASS_CLK
#include <common.h>
#include <clk.h>
#include <clk-uclass.h>
......
......@@ -6,6 +6,8 @@
* Pavel Herrmann <morpheus.ibis@gmail.com>
*/
#define LOG_CATEGORY UCLASS_ROOT
#include <common.h>
#include <errno.h>
#include <fdtdec.h>
......
......@@ -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>
......
......@@ -4,6 +4,8 @@
* Written by Simon Glass <sjg@chromium.org>
*/
#define LOG_CATEGORY UCLASS_CPU
#include <common.h>
#include <cpu.h>
#include <dm.h>
......
......@@ -4,6 +4,8 @@
* Author: Ruchika Gupta <ruchika.gupta@freescale.com>
*/
#define LOG_CATEGORY UCLASS_MOD_EXP
#include <common.h>
#include <dm.h>
#include <asm/global_data.h>
......
......@@ -9,6 +9,8 @@
* Author: Mugunthan V N <mugunthanvnm@ti.com>
*/
#define LOG_CATEGORY UCLASS_DMA
#include <common.h>
#include <cpu_func.h>
#include <dm.h>
......
// SPDX-License-Identifier: GPL-2.0+
#define LOG_CATEGORY UCLASS_FIRMWARE
#include <common.h>
#include <dm.h>
......
......@@ -3,6 +3,8 @@
* Copyright (C) 2018, STMicroelectronics - All Rights Reserved
*/
#define LOG_CATEGORY UCLASS_HWSPINLOCK
#include <common.h>
#include <dm.h>
#include <errno.h>
......
......@@ -3,6 +3,8 @@
* Copyright (c) 2014 Google, Inc
*/
#define LOG_CATEGORY UCLASS_I2C_EMUL
#include <common.h>
#include <dm.h>
#include <i2c.h>
......
......@@ -3,6 +3,8 @@
* Copyright (c) 2014 Google, Inc
*/
#define LOG_CATEGORY UCLASS_I2C
#include <common.h>
#include <dm.h>
#include <errno.h>
......
......@@ -4,6 +4,8 @@
* Written by Simon Glass <sjg@chromium.org>
*/
#define LOG_CATEGORY UCLASS_I2C_MUX
#include <common.h>
#include <dm.h>
#include <errno.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment