diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-08-30 13:58:05 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-08-30 13:58:05 +0000 |
commit | 54a4fe5fa936681fd07c8ac6734b53c5ee369f00 (patch) | |
tree | 23ed53ba362483535bfeb927ebc21489fda7f4e6 /c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/phycore_mpc5554.cfg | |
parent | 2011-08-30 Peter Dufault <dufault@hda.com> (diff) | |
download | rtems-54a4fe5fa936681fd07c8ac6734b53c5ee369f00.tar.bz2 |
2011-08-30 Peter Dufault <dufault@hda.com>
* make/custom/phycore_mpc5554.cfg, startup/linkcmds.phycore_mpc5554,
network/if_smc.c: New files.
* Makefile.am, preinstall.am: Reflect changes above.
* configure.ac: Add support for the Phytec PhyCORE MPC5554. Includes:
- HAS_SMC91111 to indicate a BSP has that neworking.
- SMC91111_ENADDR_IS_SETUP so that it skips code to set up the MAC
address.
- MPC55XX_CLOCK_EMIOS_CHANNEL to permit one to set which eMIOS
channel to use for the clock.
- MPC55XX_BOOTFLAGS: Skips two words above the RCHW in the startup
for use in skpping over the MMU setup. Required for debugging via a
cheap emulator where code is loaded into RAM and then mapped in as
flash.
- BOARD_PHYCORE_MPC5554 If defined, use custom settings for the
Phytec PhyCORE MPC5554 SOM.
* clock/clock-config.c: Modify so that the EMIOS channel used for the
clock can be selected at configuration time. For MPC5544 only:
- Conditionally skip access to a register that faults if accessed on
the MPC5554
- Do not set the control register mode as was done for GW_LCFM
support, it breaks interrupts.
* make/custom/mpc55xx.inc: Make it possible to override the soft-float
to set the type of floating point BSP will use.
* startup/start.S: Add support for the "boot flags", two long-words
that I manipulate with the debugger to skip over MMU setup. Use an
external for the start of external SRAM instead of the hardwired
number 0x20000000. Disable write access to the internal flash.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/phycore_mpc5554.cfg | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/phycore_mpc5554.cfg b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/phycore_mpc5554.cfg new file mode 100644 index 0000000000..37fd6d2a56 --- /dev/null +++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/make/custom/phycore_mpc5554.cfg @@ -0,0 +1,16 @@ +## +# +# @file +# +# @ingroup mpc55xx_config +# +# @brief configuration file for the Phytec PhyCORE MPC5554 +# + +RTEMS_LINKCMDS=linkcmds.phycore_mpc5554 + +ifeq ($(PPC_USE_SPE),1) +CPU_CFLAGS_FLOAT=-mfloat-gprs=single -mspe +endif + +include $(RTEMS_ROOT)/make/custom/mpc55xx.inc |