diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-11-06 21:01:29 +0300 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2021-01-13 11:52:58 +0300 |
commit | eb653acd63c5d9b584cf3c924193d5c43eac6847 (patch) | |
tree | 776cb907784ef5e66d5cec44c7f27b506a580aa4 /arch/arm/mach-stm32mp/cmd_stm32key.c | |
parent | ee6726be4f0dccb612f0193c62ca149164c8a5af (diff) | |
download | u-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.c | 3 |
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; } |