summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/reloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/reloc.h')
-rw-r--r--arch/riscv/include/asm/reloc.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/reloc.h b/arch/riscv/include/asm/reloc.h
new file mode 100644
index 0000000000..9a59326cad
--- /dev/null
+++ b/arch/riscv/include/asm/reloc.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef _ASM_RELOC_H_
+#define _ASM_RELOC_H_
+
+unsigned long get_runtime_offset(void);
+
+void relocate_to_current_adr(void);
+void relocate_to_adr(unsigned long target);
+
+void setup_c(void);
+
+#include <asm-generic/reloc.h>
+
+#endif /* _BAREBOX_RISCV_H_ */