diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-11-06 19:02:00 +0100 |
---|---|---|
committer | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2021-01-13 09:52:58 +0100 |
commit | 705b5bf9bb3078744e6405b220aefc0bde89bab1 (patch) | |
tree | 437f9cfe284be6ee12e2b62d53d936a305dfdbea /board/st/common/stm32mp_dfu.c | |
parent | 873bf44888bfb019f57dc28173c79a3e53a46072 (diff) |
board: st: common: migrate trace to dev and log macro
Change pr_* to dev_ or 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 'board/st/common/stm32mp_dfu.c')
-rw-r--r-- | board/st/common/stm32mp_dfu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/st/common/stm32mp_dfu.c b/board/st/common/stm32mp_dfu.c index 9c3d115dce7..5633a6cb95c 100644 --- a/board/st/common/stm32mp_dfu.c +++ b/board/st/common/stm32mp_dfu.c @@ -8,6 +8,7 @@ #include <dm.h> #include <dfu.h> #include <env.h> +#include <log.h> #include <memalign.h> #include <misc.h> #include <mtd.h> @@ -199,7 +200,7 @@ static int dfu_pmic_read(u64 offset, u8 *buffer, long *size) ret = 0; } #else - pr_err("PMIC update not supported"); + log_err("PMIC update not supported"); ret = -EOPNOTSUPP; #endif |