summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom')
-rw-r--r--make/custom/dmv177.cfg33
-rw-r--r--make/custom/ppcn_60x.cfg33
-rw-r--r--make/custom/psim.cfg17
-rw-r--r--make/custom/score603e.cfg56
4 files changed, 2 insertions, 137 deletions
diff --git a/make/custom/dmv177.cfg b/make/custom/dmv177.cfg
index 05fb516a58..595279a8a0 100644
--- a/make/custom/dmv177.cfg
+++ b/make/custom/dmv177.cfg
@@ -16,39 +16,6 @@ RTEMS_CPU_MODEL=ppc603e
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=dmv177
-# This section makes the target dependent options file.
-
-# PPC_VECTOR_FILE_BASE (ppc)
-# This defines the base address of the exception table.
-# NOTE: Vectors are actually at 0xFFF00000 but file starts at offset 0x0100
-#
-# PPC_USE_SPRG (RTEMS PowerPC port)
-# If defined, then the PowerPC specific code in RTEMS will use some
-# of the special purpose registers to slightly optimize interrupt
-# response time. The use of these registers can conflict with
-# other tools like debuggers.
-#
-# PPC_USE_DATA_CACHE (RTEMS PowerPC port/BSP)
-# If defined, then the PowerPC specific code in RTEMS will use
-# data cache instructions to optimize the context switch code.
-# This code can conflict with debuggers or emulators. It is known
-# to break the Corelis PowerPC emulator with at least some combinations
-# of PowerPC 603e revisions and emulator versions.
-# The BSP actually contains the call that enables this.
-#
-# PPC_USE_INSTRUCTION_CACHE (RTEMS PowerPC port/BSP)
-# If defined, then the PowerPC specific code in RTEMS will use
-# data cache instructions to optimize the context switch code.
-# This code can conflict with debuggers or emulators.
-# The BSP actually contains the call that enables this.
-
-define make-target-options
- @echo "#define PPC_VECTOR_FILE_BASE 0x0100" >>$@
- @echo "#define PPC_USE_SPRG 0" >>$@
- @echo "#define PPC_USE_DATA_CACHE 0" >>$@
- @echo "#define PPC_USE_INSTRUCTION_CACHE 1" >>$@
-endef
-
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
diff --git a/make/custom/ppcn_60x.cfg b/make/custom/ppcn_60x.cfg
index 67f6ca037a..b6bca171d0 100644
--- a/make/custom/ppcn_60x.cfg
+++ b/make/custom/ppcn_60x.cfg
@@ -14,39 +14,6 @@ RTEMS_CPU_MODEL=ppc603e
RTEMS_BSP_FAMILY=ppcn_60x
# This contains the compiler options necessary to select the CPU model
-# This section makes the target dependent options file.
-
-# PPCN_60X_USE_DINK (ppcn_60x_bsp)
-# PPCN_60X_USE_NONE (ppcn_60x_bsp)
-# The Score603e board can be configured with 3 ROM monitors. Only two
-# are appropriate for use with RTEMS. Set exactly one of these to "1"
-# to indicate which ROM monitor is on the board you are using.
-#
-# PPC_VECTOR_FILE_BASE (ppc)
-# This defines the base address of the exception table.
-# NOTE: Vectors are actually at 0xFFF00000 but file starts at offset 0x0100
-#
-# PPC_USE_SPRG (RTEMS PowerPC port)
-# If defined, then the PowerPC specific code in RTEMS will use some
-# of the special purpose registers to slightly optimize interrupt
-# response time. The use of these registers can conflict with
-# other tools like debuggers.
-#
-# PPC_USE_DATA_CACHE (RTEMS PowerPC port)
-# If defined, then the PowerPC specific code in RTEMS will use
-# data cache instructions to optimize the context switch code.
-# This code can conflict with debuggers or emulators.
-#
-
-define make-target-options
- @echo "#define PPCN_60X_USE_DINK 1" >>$@
- @echo "#define PPCN_60X_USE_NONE 0" >>$@
- @echo "#define PPC_USE_DATA_CACHE 1" >>$@
- @echo "#define PPC_VECTOR_FILE_BASE 0x0100" >>$@
- @echo "#define PPC_USE_SPRG 0" >>$@
-endef
-
-# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
CPU_CFLAGS = -mcpu=603
diff --git a/make/custom/psim.cfg b/make/custom/psim.cfg
index aa01beb8b3..6cc3c01153 100644
--- a/make/custom/psim.cfg
+++ b/make/custom/psim.cfg
@@ -12,23 +12,6 @@ RTEMS_CPU_MODEL=ppc603e
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=psim
-# This section makes the target dependent options file.
-
-# PPC_VECTOR_FILE_BASE (PowerPC)
-# This defines the base address of the exception table.
-# NOTE: Vectors are actually at 0xFFF00000 but file starts at offset 0x0100
-#
-# PPC_USE_SPRG (RTEMS PowerPC port)
-# If defined, then the PowerPC specific code in RTEMS will use some
-# of the special purpose registers to slightly optimize interrupt
-# response time. The use of these registers can conflict with
-# other tools like debuggers.
-
-define make-target-options
- @echo "#define PPC_VECTOR_FILE_BASE 0xFFF00100" >>$@
- @echo "#define PPC_USE_SPRG 1" >>$@
-endef
-
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
diff --git a/make/custom/score603e.cfg b/make/custom/score603e.cfg
index 6f201ea304..0dcc166fe9 100644
--- a/make/custom/score603e.cfg
+++ b/make/custom/score603e.cfg
@@ -7,67 +7,15 @@
# $Id$
#
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
RTEMS_CPU=powerpc
RTEMS_CPU_MODEL=ppc603e
-# Set the default generation if it has not been overridden
-ifeq ($(SCORE603E_GENERATION),)
-SCORE603E_GENERATION=2
-endif
-
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=score603e
-ifeq ($(SCORE603E_GENERATION),1)
-RTEMS_BSP=score603e_g1
-
-else
-ifeq ($(SCORE603E_GENERATION),2)
-RTEMS_BSP=score603e
-
-endif # generation 2
-endif # generation 1
-
-include $(RTEMS_ROOT)/make/custom/default.cfg
-
-# This section makes the target dependent options file.
-
-# SCORE603E_USE_SDS (score603e_bsp)
-# SCORE603E_USE_OPEN_FIRMWARE (score603e_bsp)
-# SCORE603E_USE_NONE (score603e_bsp)
-# The Score603e board can be configured with 3 ROM monitors. Only two
-# are appropriate for use with RTEMS. Set exactly one of these to "1"
-# to indicate which ROM monitor is on the board you are using.
-#
-# PPC_VECTOR_FILE_BASE (ppc)
-# This defines the base address of the exception table.
-# NOTE: Vectors are actually at 0xFFF00000 but file starts at offset 0x0100
-#
-# PPC_USE_SPRG (RTEMS PowerPC port)
-# If defined, then the PowerPC specific code in RTEMS will use some
-# of the special purpose registers to slightly optimize interrupt
-# response time. The use of these registers can conflict with
-# other tools like debuggers.
-#
-# PPC_USE_DATA_CACHE (RTEMS PowerPC port)
-# If defined, then the PowerPC specific code in RTEMS will use
-# data cache instructions to optimize the context switch code.
-# This code can conflict with debuggers or emulators.
-#
-
-define make-target-options
- @echo "#define INITIALIZE_COM_PORTS 1" >>$@
- @echo "#define SCORE603E_GENERATION $(SCORE603E_GENERATION)" >>$@
- @echo "#define SCORE603E_USE_SDS 0" >>$@
- @echo "#define SCORE603E_USE_NONE 0" >>$@
- @echo "#define SCORE603E_USE_DINK 1" >>$@
- @echo "#define SCORE603E_USE_OPEN_FIRMWARE 0" >>$@
- @echo "#define PPC_USE_DATA_CACHE 0" >>$@
- @echo "#define PPC_VECTOR_FILE_BASE 0x0100" >>$@
- @echo "#define PPC_USE_SPRG 0" >>$@
- @echo "#define HAS_PMC_PSC8 0" >>$@
-endef
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.