summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc85xx
diff options
context:
space:
mode:
authorYing Zhang <b40530@freescale.com>2013-08-16 15:16:10 +0800
committerYork Sun <yorksun@freescale.com>2013-08-20 09:47:15 -0700
commit0151d99d74ec4b8a33133acf94ebcd25d717dfd7 (patch)
tree52bd91f90bf132bfbcbf7ebc36afab691c5a7a53 /arch/powerpc/cpu/mpc85xx
parent7cb4f1cc80b1cb13e68444adee06b1741c047e36 (diff)
downloadu-boot-imx-0151d99d74ec4b8a33133acf94ebcd25d717dfd7.zip
u-boot-imx-0151d99d74ec4b8a33133acf94ebcd25d717dfd7.tar.gz
u-boot-imx-0151d99d74ec4b8a33133acf94ebcd25d717dfd7.tar.bz2
powerpc: deleted unused symbol CONFIG_SPL_NAND_MINIMAL and enabled some functionality for common SPL
1. The symbol CONFIG_SPL_NAND_MINIMAL is unused, so deleted it. 2. Some functions were unused in the minimal SPL, but it is useful in the common SPL. So, enabled some functionality for common SPL. Signed-off-by: Ying Zhang <b40530@freescale.com> Acked-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx')
-rw-r--r--arch/powerpc/cpu/mpc85xx/tlb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/tlb.c b/arch/powerpc/cpu/mpc85xx/tlb.c
index da3c345..8748ecd 100644
--- a/arch/powerpc/cpu/mpc85xx/tlb.c
+++ b/arch/powerpc/cpu/mpc85xx/tlb.c
@@ -39,7 +39,8 @@ void init_tlbs(void)
return ;
}
-#if !defined(CONFIG_NAND_SPL) && !defined(CONFIG_SPL_BUILD)
+#if !defined(CONFIG_NAND_SPL) && \
+ (!defined(CONFIG_SPL_BUILD) || !defined(CONFIG_SPL_INIT_MINIMAL))
void read_tlbcam_entry(int idx, u32 *valid, u32 *tsize, unsigned long *epn,
phys_addr_t *rpn)
{