From 78cc33fd32a3364d6833ea3cd04c3a608145c4e9 Mon Sep 17 00:00:00 2001 From: Justin Hibbits Date: Sun, 17 Jul 2016 19:24:28 +0000 Subject: [PATCH] Remove booke_enable_l3_cache declaration and remaining definition. L3 cache is not defined by Book-E, so is platform specific. Since it was already moved for e500-based devices into mpc85xx in r292903, just eliminate it altogether. Any device that supports L3 cache should have its own platform means to enable it. --- sys/powerpc/booke/machdep_ppc4xx.c | 5 ----- sys/powerpc/include/machdep.h | 1 - 2 files changed, 6 deletions(-) diff --git a/sys/powerpc/booke/machdep_ppc4xx.c b/sys/powerpc/booke/machdep_ppc4xx.c index 69a1e2e7a97d..256d14bb86e2 100644 --- a/sys/powerpc/booke/machdep_ppc4xx.c +++ b/sys/powerpc/booke/machdep_ppc4xx.c @@ -114,11 +114,6 @@ booke_enable_l2_cache(void) { } -void -booke_enable_l3_cache(void) -{ -} - void booke_disable_l2_cache(void) { diff --git a/sys/powerpc/include/machdep.h b/sys/powerpc/include/machdep.h index 401a4a1bccdb..fd5e694d8bbc 100644 --- a/sys/powerpc/include/machdep.h +++ b/sys/powerpc/include/machdep.h @@ -32,7 +32,6 @@ void booke_disable_l2_cache(void); void booke_enable_l1_cache(void); void booke_enable_l2_cache(void); -void booke_enable_l3_cache(void); void booke_enable_bpred(void); void booke_init_tlb(vm_paddr_t);