|
@@ -114,7 +114,7 @@ static int initr_reloc(void)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_ARM
|
|
|
+#if defined(CONFIG_ARM) || defined(CONFIG_RISCV)
|
|
|
/*
|
|
|
* Some of these functions are needed purely because the functions they
|
|
|
* call return void. If we change them to return 0, these stubs can go away.
|
|
@@ -607,7 +607,7 @@ static init_fnc_t init_sequence_r[] = {
|
|
|
initr_trace,
|
|
|
initr_reloc,
|
|
|
/* TODO: could x86/PPC have this also perhaps? */
|
|
|
-#ifdef CONFIG_ARM
|
|
|
+#if defined(CONFIG_ARM) || defined(CONFIG_RISCV)
|
|
|
initr_caches,
|
|
|
/* Note: For Freescale LS2 SoCs, new MMU table is created in DDR.
|
|
|
* A temporary mapping of IFC high region is since removed,
|