xref: /openbmc/u-boot/arch/arm/include/asm/u-boot.h (revision cbd2fba1)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2002
4  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
5  * Marius Groeger <mgroeger@sysgo.de>
6  *
7  * (C) Copyright 2002
8  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
9  * Alex Zuepke <azu@sysgo.de>
10  *
11  ********************************************************************
12  * NOTE: This header file defines an interface to U-Boot. Including
13  * this (unmodified) header file in another file is considered normal
14  * use of U-Boot, and does *not* fall under the heading of "derived
15  * work".
16  ********************************************************************
17  */
18 
19 #ifndef _U_BOOT_H_
20 #define _U_BOOT_H_	1
21 
22 /* Use the generic board which requires a unified bd_info */
23 #include <asm-generic/u-boot.h>
24 #include <asm/u-boot-arm.h>
25 
26 /* For image.h:image_check_target_arch() */
27 #ifndef CONFIG_ARM64
28 #define IH_ARCH_DEFAULT IH_ARCH_ARM
29 #else
30 #define IH_ARCH_DEFAULT IH_ARCH_ARM64
31 #endif
32 
33 #endif	/* _U_BOOT_H_ */
34