summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c b/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c
index c726cbb675..408370587a 100644
--- a/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c
+++ b/c/src/lib/libbsp/powerpc/shared/vme/vmeconfig.c
@@ -49,7 +49,7 @@ __BSP_default_vme_config(void)
VME_AM_EXT_SUP_DATA,
_VME_A32_WIN0_ON_VME,
_VME_A32_WIN0_ON_PCI,
- 0x0F000000);
+ 0x0e000000);
BSP_VMEOutboundPortCfg(
1,
VME_AM_STD_SUP_DATA,
@@ -63,6 +63,17 @@ __BSP_default_vme_config(void)
_VME_A16_ON_PCI,
0x00010000);
+#ifdef _VME_CSR_ON_PCI
+ /* Map VME64 CSR */
+ BSP_VMEOutboundPortCfg(
+ 7,
+ VME_AM_CSR,
+ 0,
+ _VME_CSR_ON_PCI,
+ 0x01000000);
+#endif
+
+
#ifdef _VME_DRAM_OFFSET
/* 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...