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