sh: Add MigoR header file
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.
Signed-off-by Magnus Damm <[email protected]>
---
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
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.
Signed-off-by Magnus Damm <[email protected]>
Quoted 3 lines · Magnus Damm
Use physical addresses and change resource name to follow data sheet.
Signed-off-by Magnus Damm <[email protected]>
Quoted 3 lines · Magnus Damm
Use physical addresses and change resource name of MigoR ethernet chip.
Signed-off-by Magnus Damm <[email protected]>
Applied 1, 2, and 4, thanks.