commit | a7b51308b5bd5821b5321bc2383b87fde8b3c9a6 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Nov 14 12:57:46 2019 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Dec 02 18:25:21 2019 -0500 |
tree | 3d6c908ed81ec0f8a6ca529198765cb64eefbaf3 | |
parent | 6980b6b5090dd00be2481aa38f253297d063df18 [diff] |
common: Move some board functions out of common.h A number of board function belong in init.h with the others. Move them. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c index 5be60af..df90742 100644 --- a/board/st/stm32f746-disco/stm32f746-disco.c +++ b/board/st/stm32f746-disco/stm32f746-disco.c
@@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> +#include <init.h> #include <lcd.h> #include <miiphy.h> #include <phy_interface.h>
diff --git a/board/st/stm32h743-disco/stm32h743-disco.c b/board/st/stm32h743-disco/stm32h743-disco.c index 3ab9518..6aab2e2 100644 --- a/board/st/stm32h743-disco/stm32h743-disco.c +++ b/board/st/stm32h743-disco/stm32h743-disco.c
@@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> +#include <init.h> DECLARE_GLOBAL_DATA_PTR;
diff --git a/board/st/stm32h743-eval/stm32h743-eval.c b/board/st/stm32h743-eval/stm32h743-eval.c index 3ab9518..6aab2e2 100644 --- a/board/st/stm32h743-eval/stm32h743-eval.c +++ b/board/st/stm32h743-eval/stm32h743-eval.c
@@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> +#include <init.h> DECLARE_GLOBAL_DATA_PTR;
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index 4ed2d88..cee3500 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c
@@ -13,6 +13,7 @@ #include <g_dnl.h> #include <generic-phy.h> #include <i2c.h> +#include <init.h> #include <led.h> #include <memalign.h> #include <misc.h>