diff packages/hal/arm/aeb/current/src/aeb_misc.c @ 44:41bd4f3a90de ecos-sw-1999-10-08

Merge from eCos master repository on 1999-10-08-07:47:04-BST
author jlarmour
date Fri, 08 Oct 1999 13:16:25 +0000
parents 443894e2e912
children c38311975d4f
line wrap: on
line diff
--- a/packages/hal/arm/aeb/current/src/aeb_misc.c
+++ b/packages/hal/arm/aeb/current/src/aeb_misc.c
@@ -278,9 +278,9 @@ void hal_hardware_init(void)
                      ICTL_ICR1_CH8_HL_AL);
     HAL_WRITE_UINT32(CYG_DEVICE_ICTL_ICLR, 0xFFFF);  // CLear all interrupts
     HAL_WRITE_UINT32(CYG_DEVICE_ICTL_IRQER, 0x0000);  // All disabled
-    // Clear and initialize instruction cache
-    HAL_ICACHE_INVALIDATE_ALL();
-    HAL_ICACHE_ENABLE();
+    // Clear and initialize cache
+    HAL_UCACHE_INVALIDATE_ALL();
+    HAL_UCACHE_ENABLE();
 }
 
 //