sh: trapped io support for highlander
PATCH 1/1 sh: trapped io support for highlander
This patch converts the higlander CF device from good old machvec readb/writeb to the new shiny trapped io.
Signed-off-by Magnus Damm <[email protected]>
---
arch/sh/Kconfig | 1 arch/sh/boards/renesas/r7780rp/setup.c | 49 ++++++++++++-------------------- include/asm-sh/r7780rp.h | 3 - 3 files changed, 20 insertions(+), 33 deletions(-)
arch/sh/Kconfig +1 -0
@@ -471,6 +471,7 @@ config SH_HIGHLANDER bool "Highlander" depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 select SYS_SUPPORTS_PCI + select IO_TRAPPED config SH_EDOSK7705 bool "EDOSK7705"
arch/sh/boards/renesas/r7780rp/setup.c +19 -30
73 lines not on this page · raw message
include/asm-sh/r7780rp.h +0 -3
@@ -195,7 +195,4 @@ unsigned char *highlander_init_irq_r7780unsigned char *highlander_init_irq_r7780rp (void );unsigned char *highlander_init_irq_r7785rp (void ); -#define __IO_PREFIX r7780rp -#include <asm/io_generic.h> -#endif /* __ASM_SH_RENESAS_R7780RP */
PATCH 1/1 sh: trapped io support for highlander V2
This patch converts the highlander CF device from good old machvec readb/writeb to the new shiny trapped io.
Signed-off-by Magnus Damm <[email protected]>
---
arch/sh/Kconfig | 1 arch/sh/boards/renesas/r7780rp/setup.c | 47 ++++++++++---------------------- include/asm-sh/r7780rp.h | 3 -- 3 files changed, 17 insertions(+), 34 deletions(-)
arch/sh/Kconfig +1 -0
@@ -472,6 +472,7 @@ config SH_HIGHLANDER bool "Highlander" depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 select SYS_SUPPORTS_PCI + select IO_TRAPPED config SH_MIGOR bool "Migo-R"
arch/sh/boards/renesas/r7780rp/setup.c +16 -31
75 lines not on this page · raw message
include/asm-sh/r7780rp.h +0 -3
@@ -195,7 +195,4 @@ unsigned char *highlander_init_irq_r7780unsigned char *highlander_init_irq_r7780rp (void );unsigned char *highlander_init_irq_r7785rp (void ); -#define __IO_PREFIX r7780rp -#include <asm/io_generic.h> -#endif /* __ASM_SH_RENESAS_R7780RP */