]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sh: Fix cannot work rtl8139 on r2dplus
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Wed, 25 Feb 2009 07:04:26 +0000 (16:04 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Thu, 12 Mar 2009 14:58:30 +0000 (23:58 +0900)
The rtl8139 driver use pci_mem_to_phys. So it need PCI system memory
registration.

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
include/configs/r2dplus.h

index 6921759d5549429c7655fbaebd52c11a5d340aed..6fa1eafde7ddd054a5d562857196c6b906eeb01b 100644 (file)
 #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