summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/m68k/rtems/m68k/sim.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/m68k/rtems/m68k/sim.h')
-rw-r--r--cpukit/score/cpu/m68k/rtems/m68k/sim.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/cpukit/score/cpu/m68k/rtems/m68k/sim.h b/cpukit/score/cpu/m68k/rtems/m68k/sim.h
index 9354412390..db2ec89d3a 100644
--- a/cpukit/score/cpu/m68k/rtems/m68k/sim.h
+++ b/cpukit/score/cpu/m68k/rtems/m68k/sim.h
@@ -68,16 +68,15 @@
/* SIM_CRB (SIM Control Register Block) base address of the SIM
control registers */
-/* not included in ram_init.h */
+#ifndef SIM_CRB
#if SIM_MM == 0
#define SIM_CRB 0x7ffa00
-#else
+#else /* SIM_MM */
#undef SIM_MM
#define SIM_MM 1
#define SIM_CRB 0xfffa00
-#endif
-/* end not included in ram_init.h */
-
+#endif /* SIM_MM */
+#endif /* SIM_CRB */
#define SIMCR SIM_VOLATILE_USHORT_POINTER(0x00 + SIM_CRB)