From: Felix Radensky Date: Sun, 2 Jan 2011 09:07:34 +0000 (+0200) Subject: PPC4xx: Reduce NAND TLB window size on Canyonlands X-Git-Tag: v2011.03-rc1~37^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=da7d3dffacbd30942c8c63dc2cef5c1c7854cde5;p=u-boot PPC4xx: Reduce NAND TLB window size on Canyonlands 16MiB NAND TLB window is way too big. Reduce it to 1KiB. Signed-off-by: Felix Radensky Signed-off-by: Stefan Roese --- diff --git a/board/amcc/canyonlands/init.S b/board/amcc/canyonlands/init.S index 680feaa6a9..8b7bfce639 100644 --- a/board/amcc/canyonlands/init.S +++ b/board/amcc/canyonlands/init.S @@ -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)