summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2006-06-19 20:51:19 +0000
committerTill Straumann <strauman@slac.stanford.edu>2006-06-19 20:51:19 +0000
commit06cfd95d98dd93a3b142c73c24a4baea496112e7 (patch)
tree229fef86790b77b088f9f46765298b9a1da200f9 /c
parent Added address-modifier codes for BLT/MBLT. (diff)
downloadrtems-06cfd95d98dd93a3b142c73c24a4baea496112e7.tar.bz2
Indicate that it's ok to use decoupled cycles to access
on-board memory from VME.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/powerpc/ChangeLog6
-rw-r--r--c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/ChangeLog b/c/src/lib/libbsp/powerpc/ChangeLog
index 9c877bff5b..3a4ad80ac7 100644
--- a/c/src/lib/libbsp/powerpc/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/ChangeLog
@@ -1,5 +1,11 @@
2006-06-19 Till Straumann <strauman@slac.stanford.edu>
+ * shared/vme/vmeconfig.c: Indicate that it's ok to
+ use decoupled cycles to access on-board memory from
+ VME.
+
+2006-06-19 Till Straumann <strauman@slac.stanford.edu>
+
* shared/vme/vme_universe.c: Only set/access the
_BSP_vme_bridge_irq variable on BSPs that
define BSP_PCI_VME_DRIVER_DOES_EOI and BSP_PIC_DO_EOI.
diff --git a/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c b/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c
index e951acf51c..c726cbb675 100644
--- a/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c
+++ b/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c
@@ -64,10 +64,12 @@ __BSP_default_vme_config(void)
0x00010000);
#ifdef _VME_DRAM_OFFSET
- /* map our memory to VME */
+ /* map our memory to VME giving the driver a hint that it's ordinary memory
+ * so they can enable decoupled cycles which should give better performance...
+ */
BSP_VMEInboundPortCfg(
0,
- VME_AM_EXT_SUP_DATA,
+ VME_AM_EXT_SUP_DATA | VME_AM_IS_MEMORY,
_VME_DRAM_OFFSET,
PCI_DRAM_OFFSET,
BSP_mem_size);