Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | ff33925 | 2017-11-13 18:54:58 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2017 Google, Inc |
| 4 | * |
Simon Glass | ff33925 | 2017-11-13 18:54:58 -0700 | [diff] [blame] | 5 | * Simple program to create some binman symbols. This is used by binman tests. |
| 6 | */ |
| 7 | |
Alper Nebi Yasak | d6d2c9b | 2022-06-18 15:13:09 +0300 | [diff] [blame] | 8 | #include <linux/kconfig.h> |
Simon Glass | ff33925 | 2017-11-13 18:54:58 -0700 | [diff] [blame] | 9 | #include <binman_sym.h> |
| 10 | |
Alper Nebi Yasak | 9634dc9 | 2022-06-18 15:13:11 +0300 | [diff] [blame] | 11 | DECLARE_BINMAN_MAGIC_SYM; |
| 12 | |
Simon Glass | 31e04cb | 2021-03-18 20:24:56 +1300 | [diff] [blame] | 13 | binman_sym_declare(unsigned long, u_boot_spl_any, offset); |
Simon Glass | e8561af | 2018-08-01 15:22:37 -0600 | [diff] [blame] | 14 | binman_sym_declare(unsigned long long, u_boot_spl2, offset); |
Simon Glass | 9dcc861 | 2018-08-01 15:22:42 -0600 | [diff] [blame] | 15 | binman_sym_declare(unsigned long, u_boot_any, image_pos); |
Simon Glass | 3f8ff01 | 2019-08-24 07:23:05 -0600 | [diff] [blame] | 16 | binman_sym_declare(unsigned long, u_boot_any, size); |