summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc55xx/include/emios.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-10-01 15:02:57 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-10-02 15:27:33 +0200
commit94102775e0103e82bd1279e1415e93a17d5cb0d4 (patch)
tree8fce6be63e0b0b2aebff4dd3bdeb2ce422802776 /c/src/lib/libcpu/powerpc/mpc55xx/include/emios.h
parentfsrfsbitmap01/test.c: Remove tabs (diff)
downloadrtems-94102775e0103e82bd1279e1415e93a17d5cb0d4.tar.bz2
bsp/mpc55xx: Add and use MPC55XX_CHIP_FAMILY
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/powerpc/mpc55xx/include/emios.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc55xx/include/emios.h b/c/src/lib/libcpu/powerpc/mpc55xx/include/emios.h
index 0723abb02d..fe5ec941e3 100644
--- a/c/src/lib/libcpu/powerpc/mpc55xx/include/emios.h
+++ b/c/src/lib/libcpu/powerpc/mpc55xx/include/emios.h
@@ -168,7 +168,7 @@ extern "C" {
/** @} */
-#if MPC55XX_CHIP_TYPE / 10 == 567
+#if MPC55XX_CHIP_FAMILY == 567
#define MPC55XX_EMIOS_CHANNEL_NUMBER 32U
#else
#define MPC55XX_EMIOS_CHANNEL_NUMBER 24U