summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32key.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2020-11-06 21:01:29 +0300
committerPatrick Delaunay <patrick.delaunay@foss.st.com>2021-01-13 11:52:58 +0300
commiteb653acd63c5d9b584cf3c924193d5c43eac6847 (patch)
tree776cb907784ef5e66d5cec44c7f27b506a580aa4 /arch/arm/mach-stm32mp/cmd_stm32key.c
parentee6726be4f0dccb612f0193c62ca149164c8a5af (diff)
downloadu-boot-eb653acd63c5d9b584cf3c924193d5c43eac6847.tar.xz
arm: stm32mp: migrate trace to log macro
Change debug and pr_ macro to log macro and define LOG_CATEGORY. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32key.c')
-rw-r--r--arch/arm/mach-stm32mp/cmd_stm32key.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-stm32mp/cmd_stm32key.c b/arch/arm/mach-stm32mp/cmd_stm32key.c
index 544bab3848..42fdc11238 100644
--- a/arch/arm/mach-stm32mp/cmd_stm32key.c
+++ b/arch/arm/mach-stm32mp/cmd_stm32key.c
@@ -6,6 +6,7 @@
#include <common.h>
#include <command.h>
#include <console.h>
+#include <log.h>
#include <misc.h>
#include <dm/device.h>
#include <dm/uclass.h>
@@ -34,7 +35,7 @@ static void fuse_hash_value(u32 addr, bool print)
DM_DRIVER_GET(stm32mp_bsec),
&dev);
if (ret) {
- pr_err("Can't find stm32mp_bsec driver\n");
+ log_err("Can't find stm32mp_bsec driver\n");
return;
}