bsp/qoriq: Fix tlbwe sequence

This commit is contained in:
Sebastian Huber
2020-04-08 13:48:41 +02:00
parent 6a02c11b4e
commit b4a786df18

View File

@@ -361,7 +361,7 @@ void qoriq_mmu_change_perm(uint32_t test, uint32_t set, uint32_t clear)
mas3 &= ~(clear & mask);
mas3 |= set & mask;
PPC_SET_SPECIAL_PURPOSE_REGISTER(FSL_EIS_MAS3, mas3);
asm volatile ("isync; msync; tlbwe; isync" : : : "memory");
asm volatile ("msync; isync; tlbwe; isync" : : : "memory");
}
}
}