Skip to content
Snippets Groups Projects
Commit 3edf68c4 authored by Stefan Roese's avatar Stefan Roese
Browse files

ppc4xx: Sequoia: Fix TLB reassignment in NAND booting code


This patch fixes a bug in the Sequoia TLB init code to reconfigure
the correct TLB (boot space) after running from RAM. This bug was
introduced with patch 4d332dbe
[ppc4xx: Make Sequoia boot vxWorks] which changed the order of the
TLB in the Sequoia init.S file.

Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 33e88c55
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ tlbtab:
reconfig_tlb0:
sync
isync
addi r4,r0,0x0000 /* TLB entry #0 */
addi r4,r0,CONFIG_SYS_TLB_FOR_BOOT_FLASH /* TLB entry # */
lis r5,TLB00@h
ori r5,r5,TLB00@l
tlbwe r5,r4,0x0000 /* Save it out */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment