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

@ -4,6 +4,8 @@
* Przemyslaw Marczak <p.marczak@samsung.com> * Przemyslaw Marczak <p.marczak@samsung.com>
*/ */
#define LOG_CATEGORY UCLASS_ADC
#include <common.h> #include <common.h>
#include <errno.h> #include <errno.h>
#include <div64.h> #include <div64.h>

View file

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

View file

@ -4,6 +4,8 @@
* Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
*/ */
#define LOG_CATEGORY UCLASS_AXI_EMUL
#include <common.h> #include <common.h>
#include <axi.h> #include <axi.h>
#include <dm.h> #include <dm.h>

View file

@ -4,6 +4,8 @@
* Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
*/ */
#define LOG_CATEGORY UCLASS_AXI
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <axi.h> #include <axi.h>

View file

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

View file

@ -4,6 +4,8 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/ */
#define LOG_CATEGORY UCLASS_IDE
#include <common.h> #include <common.h>
#include <ata.h> #include <ata.h>
#include <blk.h> #include <blk.h>

View file

@ -3,6 +3,8 @@
* (C) Copyright 2018 Theobroma Systems Design und Consulting GmbH * (C) Copyright 2018 Theobroma Systems Design und Consulting GmbH
*/ */
#define LOG_CATEGORY UCLASS_BOOTCOUNT
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <errno.h> #include <errno.h>

View file

@ -5,6 +5,8 @@
* Based on led-uclass.c * Based on led-uclass.c
*/ */
#define LOG_CATEGORY UCLASS_BUTTON
#include <common.h> #include <common.h>
#include <button.h> #include <button.h>
#include <dm.h> #include <dm.h>

View file

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

View file

@ -6,6 +6,8 @@
* Copyright (c) 2018, Theobroma Systems Design und Consulting GmbH * Copyright (c) 2018, Theobroma Systems Design und Consulting GmbH
*/ */
#define LOG_CATEGORY UCLASS_CLK
#include <common.h> #include <common.h>
#include <clk.h> #include <clk.h>
#include <clk-uclass.h> #include <clk-uclass.h>

View file

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

View file

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

View file

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

View file

@ -4,6 +4,8 @@
* Author: Ruchika Gupta <ruchika.gupta@freescale.com> * Author: Ruchika Gupta <ruchika.gupta@freescale.com>
*/ */
#define LOG_CATEGORY UCLASS_MOD_EXP
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <asm/global_data.h> #include <asm/global_data.h>

View file

@ -9,6 +9,8 @@
* Author: Mugunthan V N <mugunthanvnm@ti.com> * Author: Mugunthan V N <mugunthanvnm@ti.com>
*/ */
#define LOG_CATEGORY UCLASS_DMA
#include <common.h> #include <common.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <dm.h> #include <dm.h>

View file

@ -1,5 +1,7 @@
// SPDX-License-Identifier: GPL-2.0+ // SPDX-License-Identifier: GPL-2.0+
#define LOG_CATEGORY UCLASS_FIRMWARE
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>

View file

@ -3,6 +3,8 @@
* Copyright (C) 2018, STMicroelectronics - All Rights Reserved * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
*/ */
#define LOG_CATEGORY UCLASS_HWSPINLOCK
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <errno.h> #include <errno.h>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -3,6 +3,8 @@
* Copyright (c) 2016, NVIDIA CORPORATION. * Copyright (c) 2016, NVIDIA CORPORATION.
*/ */
#define LOG_CATEGORY UCLASS_MAILBOX
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <log.h> #include <log.h>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -11,6 +11,8 @@
* Jean-Jacques Hiblot <jjhiblot@ti.com> * Jean-Jacques Hiblot <jjhiblot@ti.com>
*/ */
#define LOG_CATEGORY UCLASS_MUX
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <mux-internal.h> #include <mux-internal.h>

View file

@ -4,6 +4,8 @@
* Copyright (C) 2017 Bin Meng <bmeng.cn@gmail.com> * Copyright (C) 2017 Bin Meng <bmeng.cn@gmail.com>
*/ */
#define LOG_CATEGORY UCLASS_NVME
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>

View file

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

View file

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

View file

@ -9,6 +9,8 @@
* Written by Ramon Fried <ramon.fried@gmail.com> * Written by Ramon Fried <ramon.fried@gmail.com>
*/ */
#define LOG_CATEGORY UCLASS_PCI_EP
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <errno.h> #include <errno.h>

View file

@ -4,6 +4,8 @@
* Written by Jean-Jacques Hiblot <jjhiblot@ti.com> * Written by Jean-Jacques Hiblot <jjhiblot@ti.com>
*/ */
#define LOG_CATEGORY UCLASS_PHY
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <dm/device_compat.h> #include <dm/device_compat.h>

View file

@ -3,6 +3,8 @@
* Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com> * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
*/ */
#define LOG_CATEGORY UCLASS_PINCTRL
#include <common.h> #include <common.h>
#include <malloc.h> #include <malloc.h>
#include <asm/global_data.h> #include <asm/global_data.h>

View file

@ -3,6 +3,8 @@
* Copyright (c) 2016, NVIDIA CORPORATION. * Copyright (c) 2016, NVIDIA CORPORATION.
*/ */
#define LOG_CATEGORY UCLASS_POWER_DOMAIN
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <log.h> #include <log.h>

View file

@ -4,6 +4,8 @@
* Przemyslaw Marczak <p.marczak@samsung.com> * Przemyslaw Marczak <p.marczak@samsung.com>
*/ */
#define LOG_CATEGORY UCLASS_PMIC
#include <common.h> #include <common.h>
#include <fdtdec.h> #include <fdtdec.h>
#include <errno.h> #include <errno.h>

View file

@ -4,6 +4,8 @@
* Przemyslaw Marczak <p.marczak@samsung.com> * Przemyslaw Marczak <p.marczak@samsung.com>
*/ */
#define LOG_CATEGORY UCLASS_REGULATOR
#include <common.h> #include <common.h>
#include <errno.h> #include <errno.h>
#include <dm.h> #include <dm.h>

View file

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

View file

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

View file

@ -3,6 +3,9 @@
* (C) Copyright 2015 * (C) Copyright 2015
* Texas Instruments Incorporated - http://www.ti.com/ * Texas Instruments Incorporated - http://www.ti.com/
*/ */
#define LOG_CATEGORY UCLASS_REMOTEPROC
#define pr_fmt(fmt) "%s: " fmt, __func__ #define pr_fmt(fmt) "%s: " fmt, __func__
#include <common.h> #include <common.h>
#include <errno.h> #include <errno.h>

View file

@ -3,6 +3,8 @@
* Copyright (c) 2016, NVIDIA CORPORATION. * Copyright (c) 2016, NVIDIA CORPORATION.
*/ */
#define LOG_CATEGORY UCLASS_RESET
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <fdtdec.h> #include <fdtdec.h>

View file

@ -3,6 +3,8 @@
* Copyright (c) 2019, Linaro Limited * Copyright (c) 2019, Linaro Limited
*/ */
#define LOG_CATEGORY UCLASS_RNG
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <rng.h> #include <rng.h>

View file

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

View file

@ -8,6 +8,8 @@
* Based on ahci-uclass.c * Based on ahci-uclass.c
*/ */
#define LOG_CATEGORY UCLASS_SCSI
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <scsi.h> #include <scsi.h>

View file

@ -3,6 +3,8 @@
* Copyright (c) 2014 The Chromium OS Authors. * Copyright (c) 2014 The Chromium OS Authors.
*/ */
#define LOG_CATEGORY UCLASS_SERIAL
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <env_internal.h> #include <env_internal.h>

View file

@ -3,6 +3,8 @@
* Copyright (c) 2018 Ramon Fried <ramon.fried@gmail.com> * Copyright (c) 2018 Ramon Fried <ramon.fried@gmail.com>
*/ */
#define LOG_CATEGORY UCLASS_SMEM
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <smem.h> #include <smem.h>

View file

@ -4,6 +4,8 @@
* Dave Gerlach <d-gerlach@ti.com> * Dave Gerlach <d-gerlach@ti.com>
*/ */
#define LOG_CATEGORY UCLASS_SOC
#include <common.h> #include <common.h>
#include <soc.h> #include <soc.h>
#include <dm.h> #include <dm.h>

View file

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

View file

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

View file

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

View file

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

View file

@ -5,6 +5,8 @@
* (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com> * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
*/ */
#define LOG_CATEGORY UCLASS_SPMI
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <errno.h> #include <errno.h>

View file

@ -4,6 +4,8 @@
* Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
*/ */
#define LOG_CATEGORY UCLASS_SYSINFO
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <sysinfo.h> #include <sysinfo.h>

View file

@ -3,6 +3,8 @@
* Copyright (c) 2018 Linaro Limited * Copyright (c) 2018 Linaro Limited
*/ */
#define LOG_CATEGORY UCLASS_TEE
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <log.h> #include <log.h>

View file

@ -3,6 +3,8 @@
* (C) Copyright 2014 Freescale Semiconductor, Inc * (C) Copyright 2014 Freescale Semiconductor, Inc
*/ */
#define LOG_CATEGORY UCLASS_THERMAL
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <thermal.h> #include <thermal.h>

View file

@ -3,6 +3,8 @@
* Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw> * Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
*/ */
#define LOG_CATEGORY UCLASS_TIMER
#include <common.h> #include <common.h>
#include <clk.h> #include <clk.h>
#include <cpu.h> #include <cpu.h>

View file

@ -5,6 +5,8 @@
* Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com
*/ */
#define LOG_CATEGORY UCLASS_UFS
#include <common.h> #include <common.h>
#include "ufs.h" #include "ufs.h"
#include <dm.h> #include <dm.h>

View file

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

View file

@ -4,6 +4,8 @@
* Written by Jean-Jacques Hiblot <jjhiblot@ti.com> * Written by Jean-Jacques Hiblot <jjhiblot@ti.com>
*/ */
#define LOG_CATEGORY UCLASS_USB_GADGET_GENERIC
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <dm/device-internal.h> #include <dm/device-internal.h>

View file

@ -6,6 +6,8 @@
* usb_match_device() modified from Linux kernel v4.0. * usb_match_device() modified from Linux kernel v4.0.
*/ */
#define LOG_CATEGORY UCLASS_USB
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <errno.h> #include <errno.h>

View file

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

View file

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

View file

@ -3,6 +3,8 @@
* Copyright 2014 Google Inc. * Copyright 2014 Google Inc.
*/ */
#define LOG_CATEGORY UCLASS_DISPLAY
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <display.h> #include <display.h>

View file

@ -5,6 +5,8 @@
* *
*/ */
#define LOG_CATEGORY UCLASS_DSI_HOST
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <dsi_host.h> #include <dsi_host.h>

View file

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

View file

@ -7,6 +7,8 @@
* Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
*/ */
#define LOG_CATEGORY UCLASS_VIDEO_CONSOLE
#include <common.h> #include <common.h>
#include <command.h> #include <command.h>
#include <console.h> #include <console.h>

View file

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

View file

@ -4,6 +4,8 @@
* Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
*/ */
#define LOG_CATEGORY UCLASS_VIDEO_OSD
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <video_osd.h> #include <video_osd.h>

View file

@ -15,6 +15,8 @@
* the VirtIO specification v1.0. * the VirtIO specification v1.0.
*/ */
#define LOG_CATEGORY UCLASS_VIRTIO
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <log.h> #include <log.h>

View file

@ -10,6 +10,8 @@
* *
*/ */
#define LOG_CATEGORY UCLASS_W1_EEPROM
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <log.h> #include <log.h>

View file

@ -12,6 +12,8 @@
* *
*/ */
#define LOG_CATEGORY UCLASS_W1
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <log.h> #include <log.h>

View file

@ -3,6 +3,8 @@
* Copyright 2017 Google, Inc * Copyright 2017 Google, Inc
*/ */
#define LOG_CATEGORY UCLASS_WDT
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <errno.h> #include <errno.h>

View file

@ -3,6 +3,9 @@
* (C) 2007-2008 Samuel Thibault. * (C) 2007-2008 Samuel Thibault.
* (C) Copyright 2020 EPAM Systems Inc. * (C) Copyright 2020 EPAM Systems Inc.
*/ */
#define LOG_CATEGORY UCLASS_PVBLOCK
#include <blk.h> #include <blk.h>
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>