Author: jhibbits
Date: Sun Jul 17 19:24:28 2016
New Revision: 302971
URL: https://svnweb.freebsd.org/changeset/base/302971

Log:
  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.

Modified:
  head/sys/powerpc/booke/machdep_ppc4xx.c
  head/sys/powerpc/include/machdep.h

Modified: head/sys/powerpc/booke/machdep_ppc4xx.c
==============================================================================
--- head/sys/powerpc/booke/machdep_ppc4xx.c     Sun Jul 17 19:19:50 2016        
(r302970)
+++ head/sys/powerpc/booke/machdep_ppc4xx.c     Sun Jul 17 19:24:28 2016        
(r302971)
@@ -115,11 +115,6 @@ booke_enable_l2_cache(void)
 }
 
 void
-booke_enable_l3_cache(void)
-{
-}
-
-void
 booke_disable_l2_cache(void)
 {
        uint32_t ccr1,l2cr0;

Modified: head/sys/powerpc/include/machdep.h
==============================================================================
--- head/sys/powerpc/include/machdep.h  Sun Jul 17 19:19:50 2016        
(r302970)
+++ head/sys/powerpc/include/machdep.h  Sun Jul 17 19:24:28 2016        
(r302971)
@@ -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);
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to