summaryrefslogtreecommitdiffstats
path: root/board/st/stm32mp1/stm32mp1.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2020-01-28 10:44:12 +0100
committerPatrick Delaunay <patrick.delaunay@st.com>2020-02-13 18:47:00 +0100
commite968c393dab0db1029802a857d2af6f9f5aaa285 (patch)
treef6cee8326ce9365ea32a9c7b8e5cb5cb69fccff3 /board/st/stm32mp1/stm32mp1.c
parent441749d9d14d3484da1f19a0e6d4118d9fde9175 (diff)
downloadu-boot-e968c393dab0db1029802a857d2af6f9f5aaa285.tar.gz
u-boot-e968c393dab0db1029802a857d2af6f9f5aaa285.tar.xz
u-boot-e968c393dab0db1029802a857d2af6f9f5aaa285.zip
board: stm32mp1: board: add include for dfu
Add include for dfu, add prototype for set_dfu_alt_info and avoid warning when compiling with W=1. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'board/st/stm32mp1/stm32mp1.c')
-rw-r--r--board/st/stm32mp1/stm32mp1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
index ca76579405..1b8ad1ef53 100644
--- a/board/st/stm32mp1/stm32mp1.c
+++ b/board/st/stm32mp1/stm32mp1.c
@@ -7,6 +7,7 @@
#include <bootm.h>
#include <clk.h>
#include <config.h>
+#include <dfu.h>
#include <dm.h>
#include <env.h>
#include <env_internal.h>