diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-08-25 09:09:45 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-08-25 09:11:05 +0200 |
commit | 0a314839012ab765a70df05eaadc4dba7440223b (patch) | |
tree | af1bffe1ed0c3bf83b635527ef697142d49a7ab9 | |
parent | rtems: Inline rtems_clock_get_ticks_since_boot() (diff) | |
download | rtems-0a314839012ab765a70df05eaadc4dba7440223b.tar.bz2 |
bsp/mpc55xx: Limit flash support to MPC55[56]X
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc55xx/misc/flash_support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc55xx/misc/flash_support.c b/c/src/lib/libcpu/powerpc/mpc55xx/misc/flash_support.c index b286b51641..74bbd3905c 100644 --- a/c/src/lib/libcpu/powerpc/mpc55xx/misc/flash_support.c +++ b/c/src/lib/libcpu/powerpc/mpc55xx/misc/flash_support.c @@ -38,7 +38,7 @@ #include <libcpu/powerpc-utility.h> #include <rtems/powerpc/registers.h> -#if MPC55XX_CHIP_TYPE / 100 == 55 +#if MPC55XX_CHIP_FAMILY == 555 || MPC55XX_CHIP_FAMILY == 556 /* Set up the memory ranges for the flash on * the MPC5553, MPC5554, MPC5566 and MPC5567. |