]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
scmi: define LOG_CATEGORY
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 24 Feb 2021 10:19:44 +0000 (11:19 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Thu, 11 Mar 2021 16:03:19 +0000 (17:03 +0100)
Define LOG_CATEGORY to allow filtering with log command.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/firmware/scmi/mailbox_agent.c
drivers/firmware/scmi/sandbox-scmi_agent.c
drivers/firmware/scmi/sandbox-scmi_devices.c
drivers/firmware/scmi/scmi_agent-uclass.c
drivers/firmware/scmi/smccc_agent.c
drivers/firmware/scmi/smt.c

index 3f4b04a4ae412d7354972fe74e3e4748797c6d2e..8043e2c2de623dac9f58d3bd52c300ba3a2d4a8b 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright (C) 2020 Linaro Limited.
  */
 
+#define LOG_CATEGORY UCLASS_SCMI_AGENT
+
 #include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 35de68c75d38429b389bd2f137fcfcf5d192cf8a..97a5dace15f196f20a64537f5f49326bd51f2e6e 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright (C) 2020, Linaro Limited
  */
 
+#define LOG_CATEGORY UCLASS_SCMI_AGENT
+
 #include <common.h>
 #include <dm.h>
 #include <malloc.h>
index 1a6fafbf531bb843088b76f3c1315b029dd13f82..69239a198f0cfd1efb79463211fb7e43ff213d83 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright (C) 2020, Linaro Limited
  */
 
+#define LOG_CATEGORY UCLASS_MISC
+
 #include <common.h>
 #include <clk.h>
 #include <dm.h>
index 516e690ac2d5496a98a2731fef70c5369af008e8..2491e0a747bab451d6d914e18b322d314ea022ca 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright (C) 2020 Linaro Limited.
  */
 
+#define LOG_CATEGORY UCLASS_SCMI_AGENT
+
 #include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 81c2884bb7e59d7bed523d94da1be003afc3aa0b..f185891e8fd876e0e7eb985629caf6acf513d9a4 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright (C) 2020 Linaro Limited.
  */
 
+#define LOG_CATEGORY UCLASS_SCMI_AGENT
+
 #include <common.h>
 #include <dm.h>
 #include <errno.h>
index d25478796aa97f2dc09b303e6040fe1eb4c1e4fa..60b9d499b79f4865b6ccf88237705e80bf2c23a6 100644 (file)
@@ -4,6 +4,8 @@
  * Copyright (C) 2019-2020 Linaro Limited.
  */
 
+#define LOG_CATEGORY UCLASS_SCMI_AGENT
+
 #include <common.h>
 #include <cpu_func.h>
 #include <dm.h>