From: "Komal Shah" <komal_shah802003@yahoo.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: Use gpmc_cs_get_base_addr for H4 smc91x
Date: Fri, 16 Jun 2006 05:08:52 -0700 [thread overview]
Message-ID: <1150459732.2583.263972498@webmail.messagingengine.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 151 bytes --]
Tested on H4 with NFS.
---Komal Shah
http://komalshah.blogspot.com
--
http://www.fastmail.fm - And now for something completely different
[-- Attachment #2: 0001-gpmcsmc91x.patch --]
[-- Type: application/octet-stream, Size: 1373 bytes --]
From nobody Mon Sep 17 00:00:00 2001
From: Komal Shah <komal_shah802003@yahoo.com>
Date: Fri, 16 Jun 2006 23:05:50 +0530
Subject: [PATCH] ARM: OMAP: Use gpmc_cs_get_base_addr for H4 smc91x
Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
---
arch/arm/mach-omap2/board-h4.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
06d2cf72487a3716e4360ad2591d7abd0010fdfc
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c
index 4933fce..05eba92 100644
--- a/arch/arm/mach-omap2/board-h4.c
+++ b/arch/arm/mach-omap2/board-h4.c
@@ -36,6 +36,7 @@ #include <asm/arch/common.h>
#include <asm/arch/keypad.h>
#include <asm/arch/menelaus.h>
#include <asm/arch/dma.h>
+#include <asm/arch/gpmc.h>
#include "prcm-regs.h"
#include <asm/io.h>
@@ -134,8 +135,6 @@ static struct platform_device h4_flash_d
static struct resource h4_smc91x_resources[] = {
[0] = {
- .start = OMAP24XX_ETHR_START, /* Physical */
- .end = OMAP24XX_ETHR_START + 0xf,
.flags = IORESOURCE_MEM,
},
[1] = {
@@ -290,6 +289,9 @@ static inline void __init h4_init_smc91x
return;
}
omap_set_gpio_direction(OMAP24XX_ETHR_GPIO_IRQ, 1);
+
+ h4_smc91x_resources[0].start = gpmc_cs_get_base_addr(1) + 0x300;
+ h4_smc91x_resources[0].end = h4_smc91x_resources[0].start + 0xf;
}
static void __init omap_h4_init_irq(void)
--
1.3.3
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
next reply other threads:[~2006-06-16 12:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-16 12:08 Komal Shah [this message]
2006-06-20 18:10 ` [PATCH] ARM: OMAP: Use gpmc_cs_get_base_addr for H4 smc91x Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1150459732.2583.263972498@webmail.messagingengine.com \
--to=komal_shah802003@yahoo.com \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.