bsps/arm: Invalidate TLB in start.S

Update #4202.
This commit is contained in:
Sebastian Huber
2020-12-21 10:08:30 +01:00
parent e164df5e33
commit 23d9223ad3
5 changed files with 10 additions and 15 deletions

View File

@@ -74,8 +74,6 @@ void rpi_start_rtems_on_secondary_processor(void)
(uint32_t *) bsp_translation_table_base
);
arm_cp15_tlb_invalidate();
ctrl |= ARM_CP15_CTRL_I | ARM_CP15_CTRL_C | ARM_CP15_CTRL_M;
ctrl &= ~ARM_CP15_CTRL_V;
arm_cp15_set_control(ctrl);

View File

@@ -67,9 +67,6 @@ raspberrypi_mmu_config_table[] = {
void BSP_START_TEXT_SECTION bsp_start_hook_0(void)
{
arm_cp15_tlb_invalidate();
_ARM_Instruction_synchronization_barrier();
/* Clear Translation Table Base Control Register */
arm_cp15_set_translation_table_base_control_register(0);