86xx: Move the clear_tlbs before MMU turn on
authorDave Liu <daveliu@freescale.com>
Tue, 28 Oct 2008 09:46:12 +0000 (17:46 +0800)
committerJon Loeliger <jdl@freescale.com>
Thu, 30 Oct 2008 15:26:37 +0000 (10:26 -0500)
commitdc2adad85bf580d65916c940683f6e9671e8a5dd
treeeb131f1f9ddf588a86897f0b4c09d0041ba39bf8
parentb1d0db1805c3395149777e507b6da53410abac4e
86xx: Move the clear_tlbs before MMU turn on

We must invalidate TLBs before MMU turn on, but
currently the code is not, if there are some stale
TLB entry valid in the TLBs, it will cause strange
issue.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Acked-by: Becky Bruce <becky.bruce@freescale.com>
cpu/mpc86xx/start.S