]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
m68knommu: remove dead timer int pending code
authorGreg Ungerer <gerg@snapgear.com>
Fri, 1 Feb 2008 07:40:52 +0000 (17:40 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 1 Feb 2008 10:02:04 +0000 (21:02 +1100)
Remove all the dead timer interrupt checking functions for the ColdFire
CPU "timers" hardware that are not used after switching to GENERIC_TIME.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68knommu/platform/5206/config.c
arch/m68knommu/platform/5206e/config.c
arch/m68knommu/platform/5249/config.c
arch/m68knommu/platform/5272/config.c
arch/m68knommu/platform/5307/config.c
arch/m68knommu/platform/532x/config.c
arch/m68knommu/platform/5407/config.c

index 8836b428a514682378b1277e75043d78003d7aed..53a5920c2b71ad68185ae2fe5ef08c6647c5af86 100644 (file)
@@ -109,20 +109,6 @@ void mcf_settimericr(unsigned int timer, unsigned int level)
 
 /***************************************************************************/
 
-int mcf_timerirqpending(int timer)
-{
-       unsigned int imr = 0;
-
-       switch (timer) {
-       case 1:  imr = MCFSIM_IMR_TIMER1; break;
-       case 2:  imr = MCFSIM_IMR_TIMER2; break;
-       default: break;
-       }
-       return (mcf_getipr() & imr);
-}
-
-/***************************************************************************/
-
 void __init config_BSP(char *commandp, int size)
 {
        mcf_setimr(MCFSIM_IMR_MASKALL);
index b555b5cc4b0b5ae76aed41218c06310c1db75091..a6692e958f6b93265380bfe7631b57d2fae5fe01 100644 (file)
@@ -108,20 +108,6 @@ void mcf_settimericr(unsigned int timer, unsigned int level)
 
 /***************************************************************************/
 
-int mcf_timerirqpending(int timer)
-{
-       unsigned int imr = 0;
-
-       switch (timer) {
-       case 1:  imr = MCFSIM_IMR_TIMER1; break;
-       case 2:  imr = MCFSIM_IMR_TIMER2; break;
-       default: break;
-       }
-       return (mcf_getipr() & imr);
-}
-
-/***************************************************************************/
-
 void __init config_BSP(char *commandp, int size)
 {
        mcf_setimr(MCFSIM_IMR_MASKALL);
index 76a2c785245e8f2f62586740cc7a8b2f02e8729e..d299f7b8768a9981640733e60b51b5bb106a3bfb 100644 (file)
@@ -105,20 +105,6 @@ void mcf_settimericr(unsigned int timer, unsigned int level)
 
 /***************************************************************************/
 
-int mcf_timerirqpending(int timer)
-{
-       unsigned int imr = 0;
-
-       switch (timer) {
-       case 1:  imr = MCFSIM_IMR_TIMER1; break;
-       case 2:  imr = MCFSIM_IMR_TIMER2; break;
-       default: break;
-       }
-       return (mcf_getipr() & imr);
-}
-
-/***************************************************************************/
-
 void __init config_BSP(char *commandp, int size)
 {
        mcf_setimr(MCFSIM_IMR_MASKALL);
index 2a3cf5ea13362e38ae2411537f0f4f504c01c8c7..2aca599a1ca714ae2b70ec3d6d89f2ce74dc631f 100644 (file)
@@ -123,19 +123,6 @@ void mcf_settimericr(int timer, int level)
 
 /***************************************************************************/
 
-int mcf_timerirqpending(int timer)
-{
-       volatile unsigned long *icrp;
-
-       if ((timer >= 1 ) && (timer <= 4)) {
-               icrp = (volatile unsigned long *) (MCF_MBAR + MCFSIM_ICR1);
-               return (*icrp & (0x8 << ((4 - timer) * 4)));
-       }
-       return 0;
-}
-
-/***************************************************************************/
-
 void __init config_BSP(char *commandp, int size)
 {
 #if defined (CONFIG_MOD5272)
index 5c43d79e42acab578eaf9edc483301074db299d5..92dc862fa826edb5432875d585a99d266f2d80ca 100644 (file)
@@ -119,20 +119,6 @@ void mcf_settimericr(unsigned int timer, unsigned int level)
 
 /***************************************************************************/
 
-int mcf_timerirqpending(int timer)
-{
-       unsigned int imr = 0;
-
-       switch (timer) {
-       case 1:  imr = MCFSIM_IMR_TIMER1; break;
-       case 2:  imr = MCFSIM_IMR_TIMER2; break;
-       default: break;
-       }
-       return (mcf_getipr() & imr);
-}
-
-/***************************************************************************/
-
 void __init config_BSP(char *commandp, int size)
 {
        mcf_setimr(MCFSIM_IMR_MASKALL);
index 758bc7a9af966362d03b9c8d93278feb71e1a564..4f44b632045b4b8230177bbffc6d864318ba01d0 100644 (file)
@@ -116,20 +116,6 @@ void mcf_settimericr(unsigned int timer, unsigned int level)
 
 /***************************************************************************/
 
-int mcf_timerirqpending(int timer)
-{
-       unsigned int imr = 0;
-
-       switch (timer) {
-       case 1:  imr = 0x1; break;
-       case 2:  imr = 0x2; break;
-       default: break;
-       }
-       return (mcf_getiprh() & imr);
-}
-
-/***************************************************************************/
-
 void __init config_BSP(char *commandp, int size)
 {
        mcf_setimr(MCFSIM_IMR_MASKALL);
index 5ed9ba5eb9616ef389ea5fb88d83c6f30335ea77..648b8b778211639fbf54ef9e7fae9d0e9e708e01 100644 (file)
@@ -110,20 +110,6 @@ void mcf_settimericr(unsigned int timer, unsigned int level)
 
 /***************************************************************************/
 
-int mcf_timerirqpending(int timer)
-{
-       unsigned int imr = 0;
-
-       switch (timer) {
-       case 1:  imr = MCFSIM_IMR_TIMER1; break;
-       case 2:  imr = MCFSIM_IMR_TIMER2; break;
-       default: break;
-       }
-       return (mcf_getipr() & imr);
-}
-
-/***************************************************************************/
-
 void __init config_BSP(char *commandp, int size)
 {
        mcf_setimr(MCFSIM_IMR_MASKALL);