summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-14 21:28:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-14 21:28:35 +0000
commit219d59d17ab04afba5fe4ec94727f397286c0e0f (patch)
tree4e4b74fa27d1f2070986b07f6aedb977f98664b8
parent5847e8bc6e51a5e79273413664704747f2689329 (diff)
downloadrtems-219d59d17ab04afba5fe4ec94727f397286c0e0f.tar.bz2
Enable data cache as well.
-rw-r--r--c/src/lib/libbsp/m68k/idp/startup/bspstart.c1
-rw-r--r--c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c1
-rw-r--r--c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/idp/startup/bspstart.c b/c/src/lib/libbsp/m68k/idp/startup/bspstart.c
index b8a894aed6..642ca90d72 100644
--- a/c/src/lib/libbsp/m68k/idp/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/idp/startup/bspstart.c
@@ -91,6 +91,7 @@ void bsp_start( void )
m68k_set_vbr( &M68Kvec );
rtems_cache_enable_instruction();
+ rtems_cache_enable_data();
/*
* we only use a hook to get the C library initialized.
diff --git a/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c
index 2b48e7b985..4741438cc6 100644
--- a/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c
@@ -80,6 +80,7 @@ void bsp_start( void )
/* make VME access round-robin */
rtems_cache_enable_instruction();
+ rtems_cache_enable_data();
/*
* we only use a hook to get the C library initialized.
diff --git a/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c
index 26b66b6d00..d720cd8862 100644
--- a/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c
@@ -140,6 +140,7 @@ void bsp_start( void )
/* Disable D32 transfers : they don't work on my VMEbus rack */
rtems_cache_enable_instruction();
+ rtems_cache_enable_data();
/*
* we only use a hook to get the C library initialized.