Skip to contentSkip to conversation

powerpc/85xx: Don't build read_tlbcam_entry for CONFIG_NAND_SPL

PATCH New Kumar Gala 1 participant 2 messages Feb 4, 2011 – Feb 10, 2011 PowerPC

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 powerpc/85xx: Don't build read_tlbcam_entry for CONFIG_NAND_SPL

Slim down NAND SPL build a bit as we don't need read_tlbcam_entry.

---
 arch/powerpc/cpu/mpc85xx/tlb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/cpu/mpc85xx/tlb.c +2 -2
index 31143ba..295f175 100644
@@ -1,5 +1,5 @@
 /*
- * Copyright 2008-2009 Freescale Semiconductor, Inc.
+ * Copyright 2008-2011 Freescale Semiconductor, Inc.
  *
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
@@ -55,6 +55,7 @@ void init_tlbs(void)
 	return ;
 }
 
+#ifndef CONFIG_NAND_SPL
 void read_tlbcam_entry(int idx, u32 *valid, u32 *tsize, unsigned long *epn,
 		       phys_addr_t *rpn)
 {
@@ -73,7 +74,6 @@ void read_tlbcam_entry(int idx, u32 *valid, u32 *tsize, unsigned long *epn,
 #endif
 }
 
-#ifndef CONFIG_NAND_SPL
 void print_tlbcam(void)
 {
 	int i;
Signature · 1 line
1.7.2.3
author Applied
#1 lore raw

PATCH 1/1 powerpc/85xx: Don't build read_tlbcam_entry for CONFIG_NAND_SPL

Quoted 6 lines · Kumar Gala

Slim down NAND SPL build a bit as we don't need read_tlbcam_entry.

---
arch/powerpc/cpu/mpc85xx/tlb.c | 4 ++--

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

applied to 85xx next

- k