summaryrefslogtreecommitdiff
path: root/drivers/hwspinlock/stm32_hwspinlock.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2020-11-06 21:01:39 +0300
committerPatrick Delaunay <patrick.delaunay@foss.st.com>2021-01-13 11:52:58 +0300
commitfb5b2463d2bbb6d39c7cb0bfa427730613fa5302 (patch)
treeb9dd90e6567595e4127821c3394ff4401900b694 /drivers/hwspinlock/stm32_hwspinlock.c
parent1ac7d52d476168a71243e1aea21a37d6e6dafc98 (diff)
downloadu-boot-fb5b2463d2bbb6d39c7cb0bfa427730613fa5302.tar.xz
hwspinlock: stm32: migrate trace to log macro
Define LOG_CATEGORY to allow filtering with log command. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'drivers/hwspinlock/stm32_hwspinlock.c')
-rw-r--r--drivers/hwspinlock/stm32_hwspinlock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hwspinlock/stm32_hwspinlock.c b/drivers/hwspinlock/stm32_hwspinlock.c
index fdc1f6fd53..46ed64655a 100644
--- a/drivers/hwspinlock/stm32_hwspinlock.c
+++ b/drivers/hwspinlock/stm32_hwspinlock.c
@@ -3,6 +3,8 @@
* Copyright (C) 2018, STMicroelectronics - All Rights Reserved
*/
+#define LOG_CATEGORY UCLASS_HWSPINLOCK
+
#include <common.h>
#include <clk.h>
#include <dm.h>