summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2021-07-20 20:15:30 +0200
committerRamon Fried <rfried.dev@gmail.com>2021-07-22 22:09:27 +0300
commit79d191efa10b1b3822084eb2008b7917b3c4700f (patch)
tree16691d6207c5c7e46f27d1441ba7961e6f68d0ac /net
parentb547f4bd9e15de1002bd45839c0fe95b0bea799a (diff)
downloadu-boot-79d191efa10b1b3822084eb2008b7917b3c4700f.tar.gz
net: define LOG_CATEGORY
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>
Diffstat (limited to 'net')
-rw-r--r--net/eth-uclass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/eth-uclass.c b/net/eth-uclass.c
index 5146bd6666..c2a97d723a 100644
--- a/net/eth-uclass.c
+++ b/net/eth-uclass.c
@@ -5,6 +5,8 @@
* Joe Hershberger, National Instruments
*/
+#define LOG_CATEGORY UCLASS_ETH
+
#include <common.h>
#include <bootstage.h>
#include <dm.h>