Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
wdenk | c609719 | 2002-11-03 00:24:07 +0000 | [diff] [blame] | 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 | * |
Wolfgang Denk | f3f4518 | 2005-11-25 16:38:03 +0100 | [diff] [blame] | 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 | ******************************************************************** |
wdenk | c609719 | 2002-11-03 00:24:07 +0000 | [diff] [blame] | 17 | */ |
| 18 | |
| 19 | #ifndef _U_BOOT_H_ |
| 20 | #define _U_BOOT_H_ 1 |
| 21 | |
Simon Glass | 97bbf18 | 2013-03-11 06:49:57 +0000 | [diff] [blame] | 22 | /* Use the generic board which requires a unified bd_info */ |
| 23 | #include <asm-generic/u-boot.h> |
Simon Glass | 4ef529e | 2017-05-17 08:22:50 -0600 | [diff] [blame] | 24 | #include <asm/u-boot-arm.h> |
wdenk | c609719 | 2002-11-03 00:24:07 +0000 | [diff] [blame] | 25 | |
Mike Frysinger | 5da0bed | 2011-10-03 14:50:33 +0000 | [diff] [blame] | 26 | /* For image.h:image_check_target_arch() */ |
David Feng | 85fd5f1 | 2013-12-14 11:47:35 +0800 | [diff] [blame] | 27 | #ifndef CONFIG_ARM64 |
Mike Frysinger | 5da0bed | 2011-10-03 14:50:33 +0000 | [diff] [blame] | 28 | #define IH_ARCH_DEFAULT IH_ARCH_ARM |
David Feng | 85fd5f1 | 2013-12-14 11:47:35 +0800 | [diff] [blame] | 29 | #else |
| 30 | #define IH_ARCH_DEFAULT IH_ARCH_ARM64 |
| 31 | #endif |
Mike Frysinger | 5da0bed | 2011-10-03 14:50:33 +0000 | [diff] [blame] | 32 | |
wdenk | c609719 | 2002-11-03 00:24:07 +0000 | [diff] [blame] | 33 | #endif /* _U_BOOT_H_ */ |