mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 03:08:31 +00:00
5cfcf7e0fd
For testing we need to build some ELF files containing binman symbols. Add these to the Makefile and check in the binaries: u_boot_binman_syms - normal, valid ELF file u_boot_binman_syms_bad - missing the __image_copy_start symbol u_boot_binman_syms_size - has a binman symbol with an invalid size Signed-off-by: Simon Glass <sjg@chromium.org>
14 lines
377 B
C
14 lines
377 B
C
/*
|
|
* 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);
|