blob: 07528a46f536ce5b7acce07025af5647e3cc6033 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
wdenkc6097192002-11-03 00:24:07 +00002/*
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 *
Wolfgang Denkf08abe32005-11-25 16:38:03 +010011 ********************************************************************
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 ********************************************************************
wdenkc6097192002-11-03 00:24:07 +000017 */
18
19#ifndef _U_BOOT_H_
20#define _U_BOOT_H_ 1
21
Simon Glass959daa22013-03-11 06:49:57 +000022/* Use the generic board which requires a unified bd_info */
23#include <asm-generic/u-boot.h>
Simon Glassac6a6bd2017-05-17 08:22:50 -060024#include <asm/u-boot-arm.h>
wdenkc6097192002-11-03 00:24:07 +000025
Mike Frysinger476af292011-10-03 14:50:33 +000026/* For image.h:image_check_target_arch() */
David Feng0ae76532013-12-14 11:47:35 +080027#ifndef CONFIG_ARM64
Mike Frysinger476af292011-10-03 14:50:33 +000028#define IH_ARCH_DEFAULT IH_ARCH_ARM
David Feng0ae76532013-12-14 11:47:35 +080029#else
30#define IH_ARCH_DEFAULT IH_ARCH_ARM64
31#endif
Mike Frysinger476af292011-10-03 14:50:33 +000032
wdenkc6097192002-11-03 00:24:07 +000033#endif /* _U_BOOT_H_ */