aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/system.h')
-rw-r--r--arch/riscv/include/asm/system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/system.h b/arch/riscv/include/asm/system.h
index a3404758235..9d8e43e3942 100644
--- a/arch/riscv/include/asm/system.h
+++ b/arch/riscv/include/asm/system.h
@@ -7,6 +7,8 @@
#ifndef __ASM_RISCV_SYSTEM_H
#define __ASM_RISCV_SYSTEM_H
+struct event;
+
/*
* Interrupt configuring macros.
*
@@ -14,4 +16,7 @@
*
*/
+/* Hook to set up the CPU (called from SPL too) */
+int riscv_cpu_setup(void *ctx, struct event *event);
+
#endif /* __ASM_RISCV_SYSTEM_H */