diff packages/hal/powerpc/cogent/current/include/plf_cache.h @ 70:c5536bad4c24 ecos-sw-2000-02-11

Merge from eCos master repository on 2000-02-11-15:46:40-GMT
author jlarmour
date Fri, 11 Feb 2000 16:47:32 +0000
parents bf00f99aec69
children e0c0827131d1
line wrap: on
line diff
--- a/packages/hal/powerpc/cogent/current/include/plf_cache.h
+++ b/packages/hal/powerpc/cogent/current/include/plf_cache.h
@@ -49,9 +49,14 @@
 
 //---------------------------------------------------------------------------
 // Initial cache enabling
-#define CYGPRI_INIT_CACHES 1
-#ifdef CYG_HAL_STARTUP_RAM              // Don't enable caches in ROM
-# define CYGPRI_ENABLE_CACHES 1
+// Cogent board doesn't support burst access to the ROM and on the
+// MPC8xx caches require burst.
+#ifdef CYG_HAL_STARTUP_ROM
+# define CYGPRI_INIT_CACHES
+# undef  CYGPRI_ENABLE_CACHES
+#else
+# define CYGPRI_INIT_CACHES
+# define CYGPRI_ENABLE_CACHES
 #endif
 
 //-----------------------------------------------------------------------------