Skip to contentSkip to conversation

sh: trapped io support for r2d

PATCH New Magnus Damm 1 participant 1 message Feb 6, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: trapped io support for r2d

This patch converts the CF device on r2d boards from machvec readb/writeb to trapped io.

---

 arch/sh/Kconfig                           |    1 
 arch/sh/boards/renesas/rts7751r2d/setup.c |   49 +++++++++++------------------
 include/asm-sh/rts7751r2d.h               |    3 -
 3 files changed, 20 insertions(+), 33 deletions(-)
arch/sh/Kconfig +1 -0
@@ -455,6 +455,7 @@ config SH_RTS7751R2D
 	bool "RTS7751R2D"
 	depends on CPU_SUBTYPE_SH7751R
 	select SYS_SUPPORTS_PCI
+	select IO_TRAPPED
 	help
 	  Select RTS7751R2D if configuring for a Renesas Technology
 	  Sales SH-Graphics board.
arch/sh/boards/renesas/rts7751r2d/setup.c +19 -30

73 lines not on this page · raw message

include/asm-sh/rts7751r2d.h +0 -3
@@ -67,7 +67,4 @@
 void init_rts7751r2d_IRQ(void);
 int rts7751r2d_irq_demux(int);
 
-#define __IO_PREFIX rts7751r2d
-#include <asm/io_generic.h>
-
 #endif  /* __ASM_SH_RENESAS_RTS7751R2D */