Skip to contentSkip to conversation

powerpc/85xx: Fix MPC8572DS NAND build

PATCH New Kumar Gala 1 participant 2 messages Nov 8, 2011 – Nov 11, 2011

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 powerpc/85xx: Fix MPC8572DS NAND build

Reduce NAND SPL build size by not include TLB entries that arent used by it.

---
 board/freescale/mpc8572ds/tlb.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
board/freescale/mpc8572ds/tlb.c +2 -0
index 575bdb5..6d60513 100644
@@ -58,6 +58,7 @@ struct fsl_e_tlb_entry tlb_table[] = {
 		      MAS3_SX|MAS3_SR, MAS2_W|MAS2_G,
 		      0, 2, BOOKE_PAGESZ_256M, 1),
 
+#ifndef CONFIG_NAND_SPL
 	/* *I*G* - PCI */
 	SET_TLB_ENTRY(1, CONFIG_SYS_PCIE3_MEM_VIRT, CONFIG_SYS_PCIE3_MEM_PHYS,
 		      MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
@@ -76,6 +77,7 @@ struct fsl_e_tlb_entry tlb_table[] = {
 	SET_TLB_ENTRY(1, CONFIG_SYS_PCIE3_IO_VIRT, CONFIG_SYS_PCIE3_IO_PHYS,
 		      MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
 		      0, 6, BOOKE_PAGESZ_256K, 1),
+#endif
 
 	/* *I*G - NAND */
 	SET_TLB_ENTRY(1, CONFIG_SYS_NAND_BASE, CONFIG_SYS_NAND_BASE_PHYS,
Signature · 1 line
1.7.3.4
author Applied
#1 lore raw

PATCH 1/1 powerpc/85xx: Fix MPC8572DS NAND build

Quoted 7 lines · Kumar Gala

Reduce NAND SPL build size by not include TLB entries that arent used by it.

---
board/freescale/mpc8572ds/tlb.c | 2 ++

1 files changed, 2 insertions(+), 0 deletions(-)

applied

- k