X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-m68knommu%2Fmcfsim.h;h=1074ae717f74bf73f67d8710abfcb7b62bea6dfc;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=27d6cb696815908838fee49444b181de5a4098c3;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/asm-m68knommu/mcfsim.h b/include/asm-m68knommu/mcfsim.h index 27d6cb696..1074ae717 100644 --- a/include/asm-m68knommu/mcfsim.h +++ b/include/asm-m68knommu/mcfsim.h @@ -12,23 +12,31 @@ #define mcfsim_h /****************************************************************************/ -#include /* - * Include 5204, 5206, 5249, 5272, 5282, 5307 or 5407 specific addresses. + * Include 5204, 5206/e, 5235, 5249, 5270/5271, 5272, 5280/5282, + * 5307 or 5407 specific addresses. */ #if defined(CONFIG_M5204) #include #elif defined(CONFIG_M5206) || defined(CONFIG_M5206e) #include +#elif defined(CONFIG_M520x) +#include +#elif defined(CONFIG_M523x) +#include #elif defined(CONFIG_M5249) #include +#elif defined(CONFIG_M527x) +#include #elif defined(CONFIG_M5272) #include -#elif defined(CONFIG_M5282) -#include +#elif defined(CONFIG_M528x) +#include #elif defined(CONFIG_M5307) #include +#elif defined(CONFIG_M532x) +#include #elif defined(CONFIG_M5407) #include #endif @@ -95,6 +103,20 @@ #endif +/* + * PIT interrupt settings, if not found in mXXXXsim.h file. + */ +#ifndef ICR_INTRCONF +#define ICR_INTRCONF 0x2b /* PIT1 level 5, priority 3 */ +#endif +#ifndef MCFPIT_IMR +#define MCFPIT_IMR MCFINTC_IMRH +#endif +#ifndef MCFPIT_IMR_IBIT +#define MCFPIT_IMR_IBIT (1 << (MCFINT_PIT1 - 32)) +#endif + + #ifndef __ASSEMBLY__ /* * Definition for the interrupt auto-vectoring support.