aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/tools/binman/test/u_boot_binman_syms.c
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/tools/binman/test/u_boot_binman_syms.c')
-rw-r--r--roms/u-boot/tools/binman/test/u_boot_binman_syms.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/roms/u-boot/tools/binman/test/u_boot_binman_syms.c b/roms/u-boot/tools/binman/test/u_boot_binman_syms.c
new file mode 100644
index 000000000..37fc339ce
--- /dev/null
+++ b/roms/u-boot/tools/binman/test/u_boot_binman_syms.c
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (c) 2017 Google, Inc
+ *
+ * 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_any, offset);
+binman_sym_declare(unsigned long long, u_boot_spl2, offset);
+binman_sym_declare(unsigned long, u_boot_any, image_pos);
+binman_sym_declare(unsigned long, u_boot_any, size);