Simon Glass | e0035c9 | 2023-01-11 16:10:17 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (c) 2017 Google, Inc |
| 4 | * |
| 5 | * Simple program to create some binman symbols. This is used by binman tests. |
| 6 | */ |
| 7 | |
Simon Glass | e0035c9 | 2023-01-11 16:10:17 -0700 | [diff] [blame] | 8 | #include <linux/kconfig.h> |
| 9 | #include <binman_sym.h> |
| 10 | |
| 11 | DECLARE_BINMAN_MAGIC_SYM; |
| 12 | |
| 13 | unsigned long val1 = 123; |
| 14 | unsigned long val2 = 456; |
| 15 | binman_sym_declare(unsigned long, inset, offset); |
| 16 | unsigned long val3 = 789; |
| 17 | unsigned long val4 = 999; |
| 18 | binman_sym_declare(unsigned long, inset, size); |