mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-30 06:53:09 +00:00
c71ee7e163
The header binman_sym.h depends on ulong typedef but does not include types.h. This means the header must be included after including types.h or a header that includes it. We could include types.h but instead let's just switch from ulong to directly using unsigned long. This removes the need for typedef'ing it in some of the tests, so also remove those. Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
16 lines
471 B
C
16 lines
471 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.
|
|
*/
|
|
|
|
#include <linux/kconfig.h>
|
|
#include <binman_sym.h>
|
|
|
|
DECLARE_BINMAN_MAGIC_SYM;
|
|
|
|
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);
|