E500 update: repoint IVPR to RAM when code is relocated

Patch by Kylo Ginsberg, 13 Apr 2005
This commit is contained in:
Wolfgang Denk
2005-10-05 00:00:54 +02:00
parent e5e98edd77
commit 7d314992a8
3 changed files with 12 additions and 0 deletions

View File

@@ -995,6 +995,11 @@ relocate_code:
7: sync /* Wait for all icbi to complete on bus */
isync
/*
* Re-point the IVPR at RAM
*/
mtspr IVPR,r10
/*
* We are done. Do not return, instead branch to second part of board
* initialization, now running from RAM.