public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] r2dplus: fix cannot work rtl8139
@ 2009-02-25  7:04 Yoshihiro Shimoda
  2009-02-27  9:27 ` Nobuhiro Iwamatsu
  0 siblings, 1 reply; 2+ messages in thread
From: Yoshihiro Shimoda @ 2009-02-25  7:04 UTC (permalink / raw)
  To: u-boot

The rtl8139 driver use pci_mem_to_phys. So it need PCI system memory
registration.

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
---
 This patch depend on as follows patch.
 http://www.mail-archive.com/u-boot at lists.denx.de/msg09816.html

 include/configs/r2dplus.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/configs/r2dplus.h b/include/configs/r2dplus.h
index 6921759..6fa1eaf 100644
--- a/include/configs/r2dplus.h
+++ b/include/configs/r2dplus.h
@@ -114,6 +114,9 @@
 #define CONFIG_PCI_IO_BUS	0xFE240000	/* IO space base address */
 #define CONFIG_PCI_IO_PHYS	CONFIG_PCI_IO_BUS
 #define CONFIG_PCI_IO_SIZE	0x00040000	/* Size of IO window */
+#define CONFIG_PCI_SYS_BUS	(CONFIG_SYS_SDRAM_BASE & 0x1fffffff)
+#define CONFIG_PCI_SYS_PHYS	(CONFIG_SYS_SDRAM_BASE & 0x1fffffff)
+#define CONFIG_PCI_SYS_SIZE	CONFIG_SYS_SDRAM_SIZE

 /*
  * Network device (RTL8139) support
-- 
1.5.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] r2dplus: fix cannot work rtl8139
  2009-02-25  7:04 [U-Boot] [PATCH] r2dplus: fix cannot work rtl8139 Yoshihiro Shimoda
@ 2009-02-27  9:27 ` Nobuhiro Iwamatsu
  0 siblings, 0 replies; 2+ messages in thread
From: Nobuhiro Iwamatsu @ 2009-02-27  9:27 UTC (permalink / raw)
  To: u-boot

On Wed, 25 Feb 2009 16:04:26 +0900
Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> wrote:

> The rtl8139 driver use pci_mem_to_phys. So it need PCI system memory
> registration.
> 
> Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Applied, thanks.

Best regards,
 Nobuhiro
-- 
Nobuhiro Iwamatsu
	hemamu at t-base.ne.jp
	iwamatsu at debian.or.jp

	GPG ID : 3170EBE9

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-27  9:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-25  7:04 [U-Boot] [PATCH] r2dplus: fix cannot work rtl8139 Yoshihiro Shimoda
2009-02-27  9:27 ` Nobuhiro Iwamatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox