Skip to contentSkip to conversation

sh: Add MigoR header file

PATCH In review Magnus Damm 2 participants 2 messages Mar 21, 2008 – Mar 24, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 sh: Add MigoR header file

This patch adds a MigoR specific header file. We may want to use a cpu specific header file instead, but this will do for now.

---

 arch/sh/boards/renesas/migor/setup.c |    9 -----
 include/asm-sh/migor.h               |   58 ++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+), 8 deletions(-)
arch/sh/boards/renesas/migor/setup.c +1 -8
@@ -14,6 +14,7 @@
 #include <asm/machvec.h>
 #include <asm/io.h>
 #include <asm/sh_keysc.h>
+#include <asm/migor.h>
 
 /* Address     IRQ  Size  Bus  Description
  * 0x00000000       64MB  16   NOR Flash (SP29PL256N)
@@ -87,14 +88,6 @@ static int __init migor_devices_setup(vo
 }
 __initcall(migor_devices_setup);
 
-#define PORT_PJCR       0xA4050110UL
-#define PORT_PSELA      0xA405014EUL
-#define PORT_PYCR       0xA405014AUL
-#define PORT_PZCR       0xA405014CUL
-#define PORT_HIZCRA     0xA4050158UL
-#define PORT_HIZCRC     0xA405015CUL
-#define MSTPCR2         0xA4150038UL
-
 static void __init migor_setup(char **cmdline_p)
 {
 	/* SMC91C111 - Enable IRQ0 */
include/asm-sh/migor.h new file +58 -0

58 lines not on this page · raw message

#1 lore raw
Quoted 4 lines · Magnus Damm

This patch adds a MigoR specific header file. We may want to use a cpu specific header file instead, but this will do for now.

Quoted 3 lines · Magnus Damm

Use physical addresses and change resource name to follow data sheet.

Quoted 3 lines · Magnus Damm

Use physical addresses and change resource name of MigoR ethernet chip.

Applied 1, 2, and 4, thanks.