]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: define LOG_CATEGORY
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 20 Jul 2021 18:15:30 +0000 (20:15 +0200)
committerRamon Fried <rfried.dev@gmail.com>
Thu, 22 Jul 2021 19:09:27 +0000 (22:09 +0300)
Define LOG_CATEGORY to allow filtering with log command.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
net/eth-uclass.c

index 5146bd6666c13afa3ad16d9f2ee38dc320ce8593..c2a97d723a0233eb54290668053cc7150d4d2b26 100644 (file)
@@ -5,6 +5,8 @@
  * Joe Hershberger, National Instruments
  */
 
+#define LOG_CATEGORY UCLASS_ETH
+
 #include <common.h>
 #include <bootstage.h>
 #include <dm.h>