Commit 6b3b6541 authored by Andreas Werner's avatar Andreas Werner
Browse files

Risc-V: add early init

parent 3eb4e5e3
......@@ -102,6 +102,10 @@ config ARCH_RISCV_SYSINIT
bool
default y
depends on MACH_NEED_GENERIC_SYSINIT
config ARCH_SYSINIT_EARLY_INIT
bool
default y
depends on MACH_NEED_EARLY_INIT
config ARCH_RISCV_HARDWARE_FLOAD
bool
......
......@@ -114,6 +114,9 @@ reset_handler:
// Set Stack Pointer
la sp, _end_stack
#ifdef ARCH_SYSINIT_EARLY_INIT
call sysinit_early_init
#endif
// Init Data and BSS
call datainit
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment