1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * (C) Copyright 2002 4 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> 5 * Marius Groeger <mgroeger@sysgo.de> 6 * 7 * Copyright (C) 2017 Andes Technology Corporation 8 * Rick Chen, Andes Technology Corporation <rick@andestech.com> 9 * 10 ******************************************************************** 11 * NOTE: This header file defines an interface to U-Boot. Including 12 * this (unmodified) header file in another file is considered normal 13 * use of U-Boot, and does *not* fall under the heading of "derived 14 * work". 15 ******************************************************************** 16 */ 17 18 #ifndef _U_BOOT_H_ 19 #define _U_BOOT_H_ 1 20 21 /* Use the generic board which requires a unified bd_info */ 22 #include <asm-generic/u-boot.h> 23 #include <asm/u-boot-riscv.h> 24 25 /* For image.h:image_check_target_arch() */ 26 #define IH_ARCH_DEFAULT IH_ARCH_RISCV 27 28 #endif /* _U_BOOT_H_ */ 29