summaryrefslogtreecommitdiff
path: root/board/st
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-19 19:15:40 +0300
committerTom Rini <trini@konsulko.com>2020-08-04 05:19:54 +0300
commita00867b47a4be848c400f74b97479193a41d327c (patch)
treea6d706a4659889055eb48b367643cd0dae0cbefd /board/st
parent2a64ada78cba32196a4f49bd000a501fa2c96647 (diff)
downloadu-boot-a00867b47a4be848c400f74b97479193a41d327c.tar.xz
sf: Drop dm.h header file from spi_flash.h
This header file should not be included in other header files. Remove it and use a forward declaration instead. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/st')
-rw-r--r--board/st/common/stm32mp_dfu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/st/common/stm32mp_dfu.c b/board/st/common/stm32mp_dfu.c
index 0cda9196f9..38eb0f27c9 100644
--- a/board/st/common/stm32mp_dfu.c
+++ b/board/st/common/stm32mp_dfu.c
@@ -5,6 +5,7 @@
#include <common.h>
#include <blk.h>
+#include <dm.h>
#include <dfu.h>
#include <env.h>
#include <memalign.h>