blob: ef9196f898b9876503d19b584fc6207685bd1035 [file] [log] [blame]
wdenkc6097192002-11-03 00:24:07 +00001/*
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 *
Wolfgang Denk1a459662013-07-08 09:37:19 +020010 * SPDX-License-Identifier: GPL-2.0+
Wolfgang Denkf08abe32005-11-25 16:38:03 +010011 *
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 ********************************************************************
wdenkc6097192002-11-03 00:24:07 +000018 */
19
20#ifndef _U_BOOT_H_
21#define _U_BOOT_H_ 1
22
Simon Glass959daa22013-03-11 06:49:57 +000023/* Use the generic board which requires a unified bd_info */
24#include <asm-generic/u-boot.h>
Simon Glassac6a6bd2017-05-17 08:22:50 -060025#include <asm/u-boot-arm.h>
wdenkc6097192002-11-03 00:24:07 +000026
Mike Frysinger476af292011-10-03 14:50:33 +000027/* For image.h:image_check_target_arch() */
David Feng0ae76532013-12-14 11:47:35 +080028#ifndef CONFIG_ARM64
Mike Frysinger476af292011-10-03 14:50:33 +000029#define IH_ARCH_DEFAULT IH_ARCH_ARM
David Feng0ae76532013-12-14 11:47:35 +080030#else
31#define IH_ARCH_DEFAULT IH_ARCH_ARM64
32#endif
Mike Frysinger476af292011-10-03 14:50:33 +000033
wdenkc6097192002-11-03 00:24:07 +000034#endif /* _U_BOOT_H_ */