X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-m68knommu%2Fmcfcache.h;h=9cb4014218351515226443804a96e73768ac17a6;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=7b61a8a529f52063fa01b760a78ca125b4e3235a;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/include/asm-m68knommu/mcfcache.h b/include/asm-m68knommu/mcfcache.h index 7b61a8a52..9cb401421 100644 --- a/include/asm-m68knommu/mcfcache.h +++ b/include/asm-m68knommu/mcfcache.h @@ -11,6 +11,7 @@ #define __M68KNOMMU_MCFCACHE_H /****************************************************************************/ +#include /* * The different ColdFire families have different cache arrangments. @@ -92,21 +93,6 @@ .endm #endif /* CONFIG_M5249 || CONFIG_M5307 */ -#if defined(CONFIG_M532x) -.macro CACHE_ENABLE - movel #0x01000000,%d0 /* invalidate cache cmd */ - movec %d0,%CACR /* do invalidate cache */ - nop - movel #0x4001C000,%d0 /* set SDRAM cached (write-thru) */ - movec %d0,%ACR0 - movel #0x00000000,%d0 /* no other regions cached */ - movec %d0,%ACR1 - movel #0x80000200,%d0 /* setup cache mask */ - movec %d0,%CACR /* enable cache */ - nop -.endm -#endif /* CONFIG_M532x */ - #if defined(CONFIG_M5407) /* * Version 4 cores have a true harvard style separate instruction