diff options
Diffstat (limited to 'board/st')
-rw-r--r-- | board/st/common/cmd_stboard.c | 5 | ||||
-rw-r--r-- | board/st/common/stm32mp_dfu.c | 2 | ||||
-rw-r--r-- | board/st/stih410-b2260/board.c | 2 | ||||
-rw-r--r-- | board/st/stm32f429-discovery/stm32f429-discovery.c | 3 | ||||
-rw-r--r-- | board/st/stm32f429-evaluation/stm32f429-evaluation.c | 3 | ||||
-rw-r--r-- | board/st/stm32f469-discovery/stm32f469-discovery.c | 3 | ||||
-rw-r--r-- | board/st/stm32f746-disco/stm32f746-disco.c | 2 | ||||
-rw-r--r-- | board/st/stm32h743-disco/stm32h743-disco.c | 1 | ||||
-rw-r--r-- | board/st/stm32h743-eval/stm32h743-eval.c | 1 | ||||
-rw-r--r-- | board/st/stm32mp1/board.c | 2 | ||||
-rw-r--r-- | board/st/stm32mp1/stm32mp1.c | 5 | ||||
-rw-r--r-- | board/st/stv0991/stv0991.c | 3 |
12 files changed, 29 insertions, 3 deletions
diff --git a/board/st/common/cmd_stboard.c b/board/st/common/cmd_stboard.c index 915164aa0b..e1038619f0 100644 --- a/board/st/common/cmd_stboard.c +++ b/board/st/common/cmd_stboard.c @@ -31,6 +31,7 @@ #ifndef CONFIG_SPL_BUILD #include <common.h> +#include <command.h> #include <console.h> #include <misc.h> #include <dm/device.h> @@ -67,8 +68,8 @@ static void display_stboard(u32 otp) otp & 0xF); } -static int do_stboard(cmd_tbl_t *cmdtp, int flag, int argc, - char * const argv[]) +static int do_stboard(struct cmd_tbl *cmdtp, int flag, int argc, + char *const argv[]) { int ret; u32 otp, lock; diff --git a/board/st/common/stm32mp_dfu.c b/board/st/common/stm32mp_dfu.c index 3bd005bb04..0cda9196f9 100644 --- a/board/st/common/stm32mp_dfu.c +++ b/board/st/common/stm32mp_dfu.c @@ -17,7 +17,7 @@ static void board_get_alt_info_mmc(struct udevice *dev, char *buf) { - disk_partition_t info; + struct disk_partition info; int p, len, devnum; bool first = true; const char *name; diff --git a/board/st/stih410-b2260/board.c b/board/st/stih410-b2260/board.c index 5d9fdf27b2..b1147f2e1a 100644 --- a/board/st/stih410-b2260/board.c +++ b/board/st/stih410-b2260/board.c @@ -6,6 +6,8 @@ #include <common.h> #include <cpu_func.h> +#include <init.h> +#include <asm/cache.h> #include <linux/usb/otg.h> #include <dwc3-sti-glue.h> #include <dwc3-uboot.h> diff --git a/board/st/stm32f429-discovery/stm32f429-discovery.c b/board/st/stm32f429-discovery/stm32f429-discovery.c index 500dc5fe3a..ee6a90c9fd 100644 --- a/board/st/stm32f429-discovery/stm32f429-discovery.c +++ b/board/st/stm32f429-discovery/stm32f429-discovery.c @@ -12,6 +12,9 @@ #include <common.h> #include <dm.h> +#include <env.h> +#include <init.h> +#include <log.h> #include <asm/io.h> #include <asm/arch/stm32.h> diff --git a/board/st/stm32f429-evaluation/stm32f429-evaluation.c b/board/st/stm32f429-evaluation/stm32f429-evaluation.c index 8ab2fa5d59..92e3d40a1b 100644 --- a/board/st/stm32f429-evaluation/stm32f429-evaluation.c +++ b/board/st/stm32f429-evaluation/stm32f429-evaluation.c @@ -6,6 +6,9 @@ #include <common.h> #include <dm.h> +#include <env.h> +#include <init.h> +#include <log.h> #include <asm/io.h> #include <asm/arch/stm32.h> diff --git a/board/st/stm32f469-discovery/stm32f469-discovery.c b/board/st/stm32f469-discovery/stm32f469-discovery.c index 70d23d90f4..85988acb24 100644 --- a/board/st/stm32f469-discovery/stm32f469-discovery.c +++ b/board/st/stm32f469-discovery/stm32f469-discovery.c @@ -6,6 +6,9 @@ #include <common.h> #include <dm.h> +#include <env.h> +#include <init.h> +#include <log.h> #include <asm/io.h> #include <asm/arch/stm32.h> diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c index df907426d2..0f728fd9f9 100644 --- a/board/st/stm32f746-disco/stm32f746-disco.c +++ b/board/st/stm32f746-disco/stm32f746-disco.c @@ -8,6 +8,7 @@ #include <dm.h> #include <init.h> #include <lcd.h> +#include <log.h> #include <miiphy.h> #include <phy_interface.h> #include <ram.h> @@ -22,6 +23,7 @@ #include <asm/arch/gpio.h> #include <asm/arch/syscfg.h> #include <asm/gpio.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/st/stm32h743-disco/stm32h743-disco.c b/board/st/stm32h743-disco/stm32h743-disco.c index 6aab2e243e..0484c3c250 100644 --- a/board/st/stm32h743-disco/stm32h743-disco.c +++ b/board/st/stm32h743-disco/stm32h743-disco.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> #include <init.h> +#include <log.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/st/stm32h743-eval/stm32h743-eval.c b/board/st/stm32h743-eval/stm32h743-eval.c index 6aab2e243e..0484c3c250 100644 --- a/board/st/stm32h743-eval/stm32h743-eval.c +++ b/board/st/stm32h743-eval/stm32h743-eval.c @@ -7,6 +7,7 @@ #include <common.h> #include <dm.h> #include <init.h> +#include <log.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/st/stm32mp1/board.c b/board/st/stm32mp1/board.c index 4e35d36c76..c218d37ecc 100644 --- a/board/st/stm32mp1/board.c +++ b/board/st/stm32mp1/board.c @@ -7,6 +7,8 @@ #include <dm.h> #include <asm/io.h> #include <asm/arch/ddr.h> +#include <linux/bitops.h> +#include <linux/delay.h> #include <power/pmic.h> #include <power/stpmic1.h> diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index 33cb7f6c4d..4553329b25 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c @@ -10,15 +10,18 @@ #include <dm.h> #include <env.h> #include <env_internal.h> +#include <fdt_support.h> #include <g_dnl.h> #include <generic-phy.h> #include <hang.h> #include <i2c.h> #include <init.h> #include <led.h> +#include <log.h> #include <malloc.h> #include <misc.h> #include <mtd_node.h> +#include <net.h> #include <netdev.h> #include <phy.h> #include <remoteproc.h> @@ -31,6 +34,8 @@ #include <asm/arch/stm32.h> #include <asm/arch/sys_proto.h> #include <jffs2/load_kernel.h> +#include <linux/bitops.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/iopoll.h> #include <power/regulator.h> diff --git a/board/st/stv0991/stv0991.c b/board/st/stv0991/stv0991.c index 33b29e647e..d5a9f1386e 100644 --- a/board/st/stv0991/stv0991.c +++ b/board/st/stv0991/stv0991.c @@ -5,8 +5,11 @@ */ #include <common.h> +#include <bootstage.h> #include <dm.h> +#include <init.h> #include <miiphy.h> +#include <net.h> #include <asm/arch/stv0991_periph.h> #include <asm/arch/stv0991_defs.h> #include <asm/arch/hardware.h> |