]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ppc4xx: Fix TLB reset problem with recent 44x images
authorStefan Roese <sr@denx.de>
Tue, 14 Jul 2009 13:53:08 +0000 (15:53 +0200)
committerStefan Roese <sr@denx.de>
Fri, 24 Jul 2009 04:42:31 +0000 (06:42 +0200)
commit0a371ca08908c9b2a58171223a79bffea1f7c6f5
tree7103baa810540f83e11850cfa21376f77c7c923f
parent28958b8bea4c66629c5a22fd3c8b0d49df90383d
ppc4xx: Fix TLB reset problem with recent 44x images

Patch d873133f [ppc4xx: Add Sequoia RAM-booting target] broke "normal"
booting on some 44x platforms. This breakage is only noticed in some
cases while powercycling. As it seems, the code in question in start.S
didn't invalidate TLB #0. This makes sense since this TLB is used for
the bootrom mapping. With the patch mentioned above even TLB #0 got
invalidated resulting in an error later on.

This patch now fixes this issue by only invalidating TLB #0 in the RAM-
booting case.

Tested succesfully on Sequoia and Canyonlands.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Dirk Eibach <Eibach@gdsys.de>
cpu/ppc4xx/start.S