summaryrefslogtreecommitdiff
path: root/board/st/common/stm32mp_dfu.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/st/common/stm32mp_dfu.c')
-rw-r--r--board/st/common/stm32mp_dfu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/st/common/stm32mp_dfu.c b/board/st/common/stm32mp_dfu.c
index 9c3d115dce..5633a6cb95 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