From 363d1d8f9c99b63daef81f5985cab3fc00edde5c Mon Sep 17 00:00:00 2001 From: Bartlomiej Sieka Date: Tue, 23 Jan 2007 13:25:22 +0100 Subject: [ColdFire MCF5271 family] Add CPU detection based on the value of Chip Identification Register (CIR). --- include/asm-m68k/m5271.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/asm-m68k/m5271.h') diff --git a/include/asm-m68k/m5271.h b/include/asm-m68k/m5271.h index 765414fdc3..e0f02cf7fd 100644 --- a/include/asm-m68k/m5271.h +++ b/include/asm-m68k/m5271.h @@ -57,6 +57,12 @@ #define MCF_GPIO_PAR_FECI2C 0x100047 #define MCF_GPIO_PAR_UART 0x100048 +#define MCF_CCM_CIR 0x11000A +#define MCF_CCM_CIR_PRN_MASK 0x3F +#define MCF_CCM_CIR_PIN_LEN 6 +#define MCF_CCM_CIR_PIN_MCF5270 0x2e +#define MCF_CCM_CIR_PIN_MCF5271 0x80 + #define MCF_GPIO_AD_ADDR23 0x80 #define MCF_GPIO_AD_ADDR22 0x40 #define MCF_GPIO_AD_ADDR21 0x20 -- cgit