summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-22 22:55:38 -0700
committerTom Rini <trini@konsulko.com>2016-03-14 14:19:11 -0400
commitcc7a64447bc3e90a8133b2fce98d7526089a7033 (patch)
treed93323c0f5d5286c4dbc14345e5bafdd1448c947
parent1531034831b3098634b524b7e244f577fae21312 (diff)
downloadu-boot-imx-cc7a64447bc3e90a8133b2fce98d7526089a7033.zip
u-boot-imx-cc7a64447bc3e90a8133b2fce98d7526089a7033.tar.gz
u-boot-imx-cc7a64447bc3e90a8133b2fce98d7526089a7033.tar.bz2
mkimage: Make 'params' static
This is not used outside mkimage.c, so make this variable static. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--tools/mkimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c
index bcf2272..e1900bd 100644
--- a/tools/mkimage.c
+++ b/tools/mkimage.c
@@ -15,7 +15,7 @@
static void copy_file(int, const char *, int);
/* parameters initialized by core will be used by the image type code */
-struct image_tool_params params = {
+static struct image_tool_params params = {
.os = IH_OS_LINUX,
.arch = IH_ARCH_PPC,
.type = IH_TYPE_KERNEL,