summaryrefslogtreecommitdiff
path: root/arch/nios2/include/asm/u-boot.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/include/asm/u-boot.h')
-rw-r--r--arch/nios2/include/asm/u-boot.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/u-boot.h b/arch/nios2/include/asm/u-boot.h
new file mode 100644
index 0000000..f050067
--- /dev/null
+++ b/arch/nios2/include/asm/u-boot.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
+ * Scott McNutt <smcnutt@psyent.com>
+ *
+ ********************************************************************
+ * NOTE: This header file defines an interface to U-Boot. Including
+ * this (unmodified) header file in another file is considered normal
+ * use of U-Boot, and does *not* fall under the heading of "derived
+ * work".
+ ********************************************************************
+ */
+
+#ifndef __ASM_NIOS2_U_BOOT_H_
+#define __ASM_NIOS2_U_BOOT_H_
+
+#include <asm-generic/u-boot.h>
+
+/* For image.h:image_check_target_arch() */
+#define IH_ARCH_DEFAULT IH_ARCH_NIOS2
+
+#endif /* __ASM_NIOS2_U_BOOT_H_ */