All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ppc4xx: Sequoia: Fix TLB reassignment in NAND booting code
@ 2009-03-26 15:21 Stefan Roese
  0 siblings, 0 replies; only message in thread
From: Stefan Roese @ 2009-03-26 15:21 UTC (permalink / raw)
  To: u-boot

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 4d332dbeb08f5863d1ea69d91a00c5499d3a87ed
[ppc4xx: Make Sequoia boot vxWorks] which changed the order of the
TLB in the Sequoia init.S file.

Signed-off-by: Stefan Roese <sr@denx.de>
---
 board/amcc/sequoia/init.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/amcc/sequoia/init.S b/board/amcc/sequoia/init.S
index bd346bf..4452d26 100644
--- a/board/amcc/sequoia/init.S
+++ b/board/amcc/sequoia/init.S
@@ -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 at h
 	ori	r5,r5,TLB00 at l
 	tlbwe	r5,r4,0x0000		/* Save it out */
-- 
1.6.2.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-26 15:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-26 15:21 [U-Boot] [PATCH] ppc4xx: Sequoia: Fix TLB reassignment in NAND booting code Stefan Roese

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.