summaryrefslogtreecommitdiff
path: root/bsps/arm/raspberrypi/start/bspstarthooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/raspberrypi/start/bspstarthooks.c')
-rw-r--r--bsps/arm/raspberrypi/start/bspstarthooks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsps/arm/raspberrypi/start/bspstarthooks.c b/bsps/arm/raspberrypi/start/bspstarthooks.c
index fd6aa53059..eb6546db1c 100644
--- a/bsps/arm/raspberrypi/start/bspstarthooks.c
+++ b/bsps/arm/raspberrypi/start/bspstarthooks.c
@@ -184,7 +184,9 @@ static void bsp_memory_initialize(void)
{
_Memory_Initialize(
&_Memory_Areas[0],
+ (void *)
raspberrypi_mmu_config_table[ARMV7_CP15_START_WORKSPACE_ENTRY_INDEX].begin,
+ (void *)
raspberrypi_mmu_config_table[ARMV7_CP15_START_WORKSPACE_ENTRY_INDEX].end
);
}