← Back to team overview

t-kernel team mailing list archive

[PATCH] monitor: arm, remove gpio irq

 

From: Du Huanpeng <u74147@xxxxxxxxx>

Signed-off-by: Du Huanpeng <u74147@xxxxxxxxx>
---
 tkernel_source/monitor/hwdepend/arm/mach-mx28/eitproc.c   | 2 --
 tkernel_source/sysdepend/arm/include/sys/sysinfo_depend.h | 3 +--
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/tkernel_source/monitor/hwdepend/arm/mach-mx28/eitproc.c b/tkernel_source/monitor/hwdepend/arm/mach-mx28/eitproc.c
index 70c522b..7cdf014 100644
--- a/tkernel_source/monitor/hwdepend/arm/mach-mx28/eitproc.c
+++ b/tkernel_source/monitor/hwdepend/arm/mach-mx28/eitproc.c
@@ -84,8 +84,6 @@ LOCAL const VECINFO VecInfoTable[] = {
 
   { EIT_FIQ,               "Undefined FIQ",		vf_msg  },
   { EIT_IRQ(0),            "Undefined IRQ",		vf_msg  },
-  { EIT_GPIO(0),           "Undefined GPIO-INT",	vf_msg  },
-  { EIT_GPIO(127)+1,"\020" "Undefined SWI",		vf_msg  },
 
   { N_INTVEC, NULL, vf_msg }	/* terminating mark (the last vector number + 1) */
 };
diff --git a/tkernel_source/sysdepend/arm/include/sys/sysinfo_depend.h b/tkernel_source/sysdepend/arm/include/sys/sysinfo_depend.h
index 18636de..855d267 100644
--- a/tkernel_source/sysdepend/arm/include/sys/sysinfo_depend.h
+++ b/tkernel_source/sysdepend/arm/include/sys/sysinfo_depend.h
@@ -101,8 +101,7 @@ typedef struct {
 #define EIT_IDEBUG	29		/* debug abort instruction */
 #define EIT_DDEBUG	30		/* debug abort data */
 #define EIT_FIQ		31		/* fast interrupt FIQ */
-#define EIT_IRQ(n)	(  32 + (n) )	/* interrupt		IRQ  0-95 */
-#define EIT_GPIO(n)	( 128 + (n) )	/* GPIO interrupt	port 0-127 */
+#define EIT_IRQ(n)	(0x80+(n))	/* interrupt		IRQ  0-95 */
 
 #ifdef __cplusplus
 }
-- 
1.9.1




Follow ups