diff options
author | Simon Glass | 2017-05-17 17:18:03 -0600 |
---|---|---|
committer | Simon Glass | 2017-06-01 06:57:52 -0600 |
commit | 9d922450aa9944ecf8c249c892078cda80f40e02 (patch) | |
tree | fb1333b82562bf0f69e7b3e7e2cd4cce519db751 /board/st | |
parent | 31493dd5ffc74e2d5d1f1112fd2267e37d4fd698 (diff) |
dm: Use dm.h header when driver mode is used
This header includes things that are needed to make driver build. Adjust
existing users to include that always, even if other dm/ includes are
present
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/st')
-rw-r--r-- | board/st/stm32f429-discovery/stm32f429-discovery.c | 2 | ||||
-rw-r--r-- | board/st/stm32f746-disco/stm32f746-disco.c | 2 | ||||
-rw-r--r-- | board/st/stv0991/stv0991.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/board/st/stm32f429-discovery/stm32f429-discovery.c b/board/st/stm32f429-discovery/stm32f429-discovery.c index d16d73fc976..8c8abf6a067 100644 --- a/board/st/stm32f429-discovery/stm32f429-discovery.c +++ b/board/st/stm32f429-discovery/stm32f429-discovery.c @@ -12,12 +12,12 @@ */ #include <common.h> +#include <dm.h> #include <asm/io.h> #include <asm/armv7m.h> #include <asm/arch/stm32.h> #include <asm/arch/gpio.h> #include <asm/arch/fmc.h> -#include <dm/platdata.h> #include <dm/platform_data/serial_stm32.h> #include <asm/arch/stm32_periph.h> #include <asm/arch/stm32_defs.h> diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c index dc3a9dcade0..aeaa31146a5 100644 --- a/board/st/stm32f746-disco/stm32f746-disco.c +++ b/board/st/stm32f746-disco/stm32f746-disco.c @@ -12,7 +12,7 @@ #include <asm/armv7m.h> #include <asm/arch/stm32.h> #include <asm/arch/gpio.h> -#include <dm/platdata.h> +#include <asm/arch/fmc.h> #include <dm/platform_data/serial_stm32x7.h> #include <asm/arch/stm32_periph.h> #include <asm/arch/stm32_defs.h> diff --git a/board/st/stv0991/stv0991.c b/board/st/stv0991/stv0991.c index 6a197300692..85ac66ec3ae 100644 --- a/board/st/stv0991/stv0991.c +++ b/board/st/stv0991/stv0991.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <dm.h> #include <miiphy.h> #include <asm/arch/stv0991_periph.h> #include <asm/arch/stv0991_defs.h> @@ -13,7 +14,6 @@ #include <asm/arch/gpio.h> #include <netdev.h> #include <asm/io.h> -#include <dm/platdata.h> #include <dm/platform_data/serial_pl01x.h> DECLARE_GLOBAL_DATA_PTR; |