blob: 07528a46f536ce5b7acce07025af5647e3cc6033 [file] [log] [blame]
Tom Rini10e47792018-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 Denkf3f45182005-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 Glass97bbf182013-03-11 06:49:57 +000022/* Use the generic board which requires a unified bd_info */
23#include <asm-generic/u-boot.h>
Simon Glass4ef529e2017-05-17 08:22:50 -060024#include <asm/u-boot-arm.h>
wdenkc6097192002-11-03 00:24:07 +000025
Mike Frysinger5da0bed2011-10-03 14:50:33 +000026/* For image.h:image_check_target_arch() */
David Feng85fd5f12013-12-14 11:47:35 +080027#ifndef CONFIG_ARM64
Mike Frysinger5da0bed2011-10-03 14:50:33 +000028#define IH_ARCH_DEFAULT IH_ARCH_ARM
David Feng85fd5f12013-12-14 11:47:35 +080029#else
30#define IH_ARCH_DEFAULT IH_ARCH_ARM64
31#endif
Mike Frysinger5da0bed2011-10-03 14:50:33 +000032
wdenkc6097192002-11-03 00:24:07 +000033#endif /* _U_BOOT_H_ */