diff packages/hal/arm/iq80310/current/include/hal_cache.h @ 154:e2d866e32dac

Merge from eCos master repository on 2001-02-26-23:18:05-GMT
author jlarmour
date Tue, 27 Feb 2001 01:21:45 +0000
parents f935b880e96c
children e0c0827131d1
line wrap: on
line diff
--- a/packages/hal/arm/iq80310/current/include/hal_cache.h
+++ b/packages/hal/arm/iq80310/current/include/hal_cache.h
@@ -53,6 +53,19 @@
 //#include <cyg/hal/hal_mmu.h>
 
 //-----------------------------------------------------------------------------
+// FIXME: This definition forces the IO flash driver to use a
+// known-good procedure for fiddling flash before calling flash device
+// driver functions. The procedure breaks on other platform/driver
+// combinations though so is depricated. Hence this definition.
+//
+// If you work on this target, please try to remove this definition
+// and verify that the flash driver still works (both from RAM and
+// flash). If it does, remove the definition and this comment for good
+// [and the old macro definition if this happens to be the last client
+// of that code].
+#define HAL_FLASH_CACHES_OLD_MACROS
+
+//-----------------------------------------------------------------------------
 // Cache dimensions
 
 #define HAL_DCACHE_SIZE                 0x8000 // Size of data cache in bytes