summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorRaymond Mao <raymond.mao@linaro.org>2024-05-16 14:11:52 -0700
committerTom Rini <trini@konsulko.com>2024-05-22 08:55:29 -0600
commitcb73fe9eeae0d71a74eef811b0ba34aaf5513dbe (patch)
treeefb46ac2604f9eccde6e9bc65e1d73dfd8d35854 /board
parent0fe031dd722079cd076cc120d45e1711eb108fe3 (diff)
downloadu-boot-cb73fe9eeae0d71a74eef811b0ba34aaf5513dbe.tar.gz
u-boot-cb73fe9eeae0d71a74eef811b0ba34aaf5513dbe.tar.bz2
u-boot-cb73fe9eeae0d71a74eef811b0ba34aaf5513dbe.zip
include: Move snprintf to stdio.h
Move snprintf to stdio.h since it is needed by exteranl libraries. Signed-off-by: Raymond Mao <raymond.mao@linaro.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'board')
-rw-r--r--board/Synology/common/legacy.c1
-rw-r--r--board/ti/common/fdt_ops.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/board/Synology/common/legacy.c b/board/Synology/common/legacy.c
index a0bace7b46..2e3aa660ea 100644
--- a/board/Synology/common/legacy.c
+++ b/board/Synology/common/legacy.c
@@ -6,6 +6,7 @@
*/
#include <config.h>
+#include <stdio.h>
#include <vsprintf.h>
#include <env.h>
#include <net.h>
diff --git a/board/ti/common/fdt_ops.c b/board/ti/common/fdt_ops.c
index eb917be9e0..8a3300993e 100644
--- a/board/ti/common/fdt_ops.c
+++ b/board/ti/common/fdt_ops.c
@@ -6,7 +6,7 @@
*/
#include <env.h>
-#include <vsprintf.h>
+#include <stdio.h>
#include "fdt_ops.h"
void ti_set_fdt_env(const char *board_name, struct ti_fdt_map *fdt_map)