summaryrefslogtreecommitdiff
path: root/tools/binman/test/u_boot_binman_syms.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/binman/test/u_boot_binman_syms.c')
-rw-r--r--tools/binman/test/u_boot_binman_syms.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/binman/test/u_boot_binman_syms.c b/tools/binman/test/u_boot_binman_syms.c
new file mode 100644
index 0000000000..a975476944
--- /dev/null
+++ b/tools/binman/test/u_boot_binman_syms.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2017 Google, Inc
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ *
+ * Simple program to create some binman symbols. This is used by binman tests.
+ */
+
+#define CONFIG_BINMAN
+#include <binman_sym.h>
+
+binman_sym_declare(unsigned long, u_boot_spl, pos);
+binman_sym_declare(unsigned long long, u_boot_spl2, pos);
+binman_sym_declare(unsigned long, u_boot_any, pos);