mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-18 09:13:06 +00:00
f589882a70
Since this is an execuable we should be able insert symbol values into it. Add support for this. Use common code for this test and the original testSymbols. Use hex consistently for the values and add some more comments. Signed-off-by: Simon Glass <sjg@chromium.org>
14 lines
439 B
C
14 lines
439 B
C
// 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);
|