diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-11-06 19:01:38 +0100 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2021-01-13 09:52:58 +0100 |
commit | 1ac7d52d476168a71243e1aea21a37d6e6dafc98 (patch) | |
tree | eb59a1ee7d0161e895cfeb4cf35b572564a27254 /drivers | |
parent | 4dbaa1b6d795e9a8325aa42c1b7b96ce5b7cd585 (diff) | |
download | u-boot-1ac7d52d476168a71243e1aea21a37d6e6dafc98.tar.gz u-boot-1ac7d52d476168a71243e1aea21a37d6e6dafc98.tar.bz2 u-boot-1ac7d52d476168a71243e1aea21a37d6e6dafc98.zip |
timer: 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')
-rw-r--r-- | drivers/timer/stm32_timer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/timer/stm32_timer.c b/drivers/timer/stm32_timer.c index 215334f1b8..e34f5202fc 100644 --- a/drivers/timer/stm32_timer.c +++ b/drivers/timer/stm32_timer.c @@ -4,6 +4,8 @@ * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics. */ +#define LOG_CATEGORY UCLASS_TIMER + #include <common.h> #include <clk.h> #include <dm.h> |