Skip to contentSkip to conversation

PPC4xx: Reduce NAND TLB window size on Canyonlands

PATCH New Felix Radensky 2 participants 2 messages Jan 2, 2011 – Jan 10, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PPC4xx: Reduce NAND TLB window size on Canyonlands

16MiB NAND TLB window is way too big. Reduce it to 1KiB.

---
 board/amcc/canyonlands/init.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
board/amcc/canyonlands/init.S +1 -1
index 680feaa..8b7bfce 100644
@@ -80,7 +80,7 @@ tlbtab:
 
 #if !defined(CONFIG_ARCHES)
 	/* TLB-entry for NAND */
-	tlbentry(CONFIG_SYS_NAND_ADDR, SZ_16M, CONFIG_SYS_NAND_ADDR, 4, AC_RWX | SA_IG)
+	tlbentry(CONFIG_SYS_NAND_ADDR, SZ_1K, CONFIG_SYS_NAND_ADDR, 4, AC_RWX | SA_IG)
 
 	/* TLB-entry for CPLD */
 	tlbentry(CONFIG_SYS_BCSR_BASE, SZ_1K, CONFIG_SYS_BCSR_BASE, 4, AC_RW | SA_IG)
Signature · 1 line
1.5.4.3
#1 lore raw

PATCH 1/1 PPC4xx: Reduce NAND TLB window size on Canyonlands

Quoted 1 line · On Sunday 02 January 2011 10:07:34 Felix Radensky wrote:

16MiB NAND TLB window is way too big. Reduce it to 1KiB.

Applied to u-boot-ppc4xx. Thanks.

Cheers,
Stefan

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de