diff options
author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.zh@hitachi.com> | 2007-04-25 22:51:00 -0400 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-05-06 22:11:56 -0400 |
commit | 2a8ff4596cde3ec2a51980288ebb28a0d196d19a (patch) | |
tree | a895745a2a0bf676a6740c0529175cf430dee489 /arch/sh/boards | |
parent | 005a336e71e9e3ea356f9afca5d66318d6901319 (diff) |
sh: Solution Engine SH7705 board and CPU updates.
This fixes up SH7705 CPU support and the SE7705 board
for some of the recent changes.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.zh@hitachi.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards')
-rw-r--r-- | arch/sh/boards/se/770x/irq.c | 32 | ||||
-rw-r--r-- | arch/sh/boards/se/770x/setup.c | 2 |
2 files changed, 17 insertions, 17 deletions
diff --git a/arch/sh/boards/se/770x/irq.c b/arch/sh/boards/se/770x/irq.c index 59cdffa13964..c8eccff77a04 100644 --- a/arch/sh/boards/se/770x/irq.c +++ b/arch/sh/boards/se/770x/irq.c | |||
@@ -65,24 +65,24 @@ static struct ipr_data se770x_ipr_map[] = { | |||
65 | * 8: rtc | 65 | * 8: rtc |
66 | * 12: mouse | 66 | * 12: mouse |
67 | * 14: ide0 | 67 | * 14: ide0 |
68 | */ | 68 | */ |
69 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) | 69 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) |
70 | /* This is default value */ | 70 | /* This is default value */ |
71 | { 0xf-0x2, 0, 8, 0x2 , BCR_ILCRA}, | 71 | { 13, 0, 8, 0x0f-13 ,BCR_ILCRA}, |
72 | { 0xf-0xa, 0, 4, 0xa , BCR_ILCRA}, | 72 | { 5 , 0, 4, 0x0f- 5 ,BCR_ILCRA}, |
73 | { 0xf-0x5, 0, 0, 0x5 , BCR_ILCRB}, | 73 | { 10, 0, 0, 0x0f-10, BCR_ILCRB}, |
74 | { 0xf-0x8, 0, 4, 0x8 , BCR_ILCRC}, | 74 | { 7 , 0, 4, 0x0f- 7, BCR_ILCRC}, |
75 | { 0xf-0xc, 0, 0, 0xc , BCR_ILCRC}, | 75 | { 3 , 0, 0, 0x0f- 3, BCR_ILCRC}, |
76 | { 0xf-0xe, 0, 12, 0xe , BCR_ILCRD}, | 76 | { 1 , 0, 12, 0x0f- 1, BCR_ILCRD}, |
77 | { 0xf-0x3, 0, 4, 0x3 , BCR_ILCRD}, /* LAN */ | 77 | { 12, 0, 4, 0x0f-12, BCR_ILCRD}, /* LAN */ |
78 | { 0xf-0xd, 0, 8, 0xd , BCR_ILCRE}, | 78 | { 2 , 0, 8, 0x0f- 2, BCR_ILCRE}, /* PCIRQ2 */ |
79 | { 0xf-0x9, 0, 4, 0x9 , BCR_ILCRE}, | 79 | { 6 , 0, 4, 0x0f- 6, BCR_ILCRE}, /* PCIRQ1 */ |
80 | { 0xf-0x1, 0, 0, 0x1 , BCR_ILCRE}, | 80 | { 14, 0, 0, 0x0f-14, BCR_ILCRE}, /* PCIRQ0 */ |
81 | { 0xf-0xf, 0, 12, 0xf , BCR_ILCRF}, | 81 | { 0 , 0, 12, 0x0f , BCR_ILCRF}, |
82 | { 0xf-0xb, 0, 4, 0xb , BCR_ILCRF}, | 82 | { 4 , 0, 4, 0x0f- 4, BCR_ILCRF}, |
83 | { 0xf-0x7, 0, 12, 0x7 , BCR_ILCRG}, | 83 | { 8 , 0, 12, 0x0f- 8, BCR_ILCRG}, |
84 | { 0xf-0x6, 0, 8, 0x6 , BCR_ILCRG}, | 84 | { 9 , 0, 8, 0x0f- 9, BCR_ILCRG}, |
85 | { 0xf-0x4, 0, 4, 0x4 , BCR_ILCRG}, | 85 | { 11, 0, 4, 0x0f-11, BCR_ILCRG}, |
86 | #else | 86 | #else |
87 | { 14, 0, 8, 0x0f-14 ,BCR_ILCRA}, | 87 | { 14, 0, 8, 0x0f-14 ,BCR_ILCRA}, |
88 | { 12, 0, 4, 0x0f-12 ,BCR_ILCRA}, | 88 | { 12, 0, 4, 0x0f-12 ,BCR_ILCRA}, |
diff --git a/arch/sh/boards/se/770x/setup.c b/arch/sh/boards/se/770x/setup.c index f1c7c8d9fdd2..17a2631de3ba 100644 --- a/arch/sh/boards/se/770x/setup.c +++ b/arch/sh/boards/se/770x/setup.c | |||
@@ -76,7 +76,7 @@ static struct resource cf_ide_resources[] = { | |||
76 | .flags = IORESOURCE_MEM, | 76 | .flags = IORESOURCE_MEM, |
77 | }, | 77 | }, |
78 | [2] = { | 78 | [2] = { |
79 | .start = 7, | 79 | .start = IRQ_CFCARD, |
80 | .flags = IORESOURCE_IRQ, | 80 | .flags = IORESOURCE_IRQ, |
81 | }, | 81 | }, |
82 | }; | 82 | }; |