diff options
author | Hirokazu Takata <takata@linux-m32r.org> | 2006-12-08 05:35:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:37 -0500 |
commit | d93f7de8c5dfefb030a5e65d0857176879bf78e9 (patch) | |
tree | 17e7f1fbf926ac190943918e780586f709573413 /include/asm-m32r | |
parent | 6b8bd3f4b2e9d0fbfd0e7d75ba1cdc79c6876ecc (diff) |
[PATCH] m32r: bootloader support for OPSPUT platform
This patch supports "m32r-g00ff" bootloader for an OPSPUT platform.
Applying this patch, it is possible to do ATA-boot from an IDE drive or
HTTP-boot from network by m32r-g00ff.
* arch/m32r/boot/compressed/m32r_sio.c: Fix hangup on OPSPUT at boot.
* arch/m32r/kernel/io_opsput.c: IDE support for OPSPUT.
* arch/m32r/kernel/setup_opsput.c: ditto.
* include/asm-m32r/ide.h: ditto.
Signed-off-by: Kazuhiro Inaoka <inaoka@linux-m32r.org>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-m32r')
-rw-r--r-- | include/asm-m32r/ide.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-m32r/ide.h b/include/asm-m32r/ide.h index 219a0f74eff3..c82ebe8f250d 100644 --- a/include/asm-m32r/ide.h +++ b/include/asm-m32r/ide.h | |||
@@ -32,7 +32,8 @@ | |||
32 | static __inline__ int ide_default_irq(unsigned long base) | 32 | static __inline__ int ide_default_irq(unsigned long base) |
33 | { | 33 | { |
34 | switch (base) { | 34 | switch (base) { |
35 | #if defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_MAPPI2) | 35 | #if defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_MAPPI2) \ |
36 | || defined(CONFIG_PLAT_OPSPUT) | ||
36 | case 0x1f0: return PLD_IRQ_CFIREQ; | 37 | case 0x1f0: return PLD_IRQ_CFIREQ; |
37 | default: | 38 | default: |
38 | return 0; | 39 | return 0; |