From 0a314839012ab765a70df05eaadc4dba7440223b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 25 Aug 2014 09:09:45 +0200 Subject: bsp/mpc55xx: Limit flash support to MPC55[56]X --- c/src/lib/libcpu/powerpc/mpc55xx/misc/flash_support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #include -#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. -- cgit v1.2.3