aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/riscv/include/asm/u-boot-riscv.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/riscv/include/asm/u-boot-riscv.h')
-rw-r--r--roms/u-boot/arch/riscv/include/asm/u-boot-riscv.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/roms/u-boot/arch/riscv/include/asm/u-boot-riscv.h b/roms/u-boot/arch/riscv/include/asm/u-boot-riscv.h
new file mode 100644
index 000000000..543a1688d
--- /dev/null
+++ b/roms/u-boot/arch/riscv/include/asm/u-boot-riscv.h
@@ -0,0 +1,23 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * (C) Copyright 2002
+ * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
+ * Marius Groeger <mgroeger@sysgo.de>
+ *
+ * Copyright (C) 2017 Andes Technology Corporation
+ * Rick Chen, Andes Technology Corporation <rick@andestech.com>
+ */
+
+#ifndef _U_BOOT_RISCV_H_
+#define _U_BOOT_RISCV_H_ 1
+
+/* cpu/.../cpu.c */
+int cleanup_before_linux(void);
+
+/* board/.../... */
+int board_init(void);
+void board_quiesce_devices(void);
+int riscv_board_reserved_mem_fixup(void *fdt);
+int riscv_fdt_copy_resv_mem_node(const void *src_fdt, void *dest_fdt);
+
+#endif /* _U_BOOT_RISCV_H_ */