summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>2009-02-25 16:04:26 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2009-03-12 23:58:30 +0900
commit2db0e1278b9f11263e0a13326b57d4f99781f7ac (patch)
treea9d4c3de60f54470f70db3dcd4296703f3e94eb8 /include
parent64f3c0b8ba99d6651db59273e497ab5e857c8d4f (diff)
downloadu-boot-imx-2db0e1278b9f11263e0a13326b57d4f99781f7ac.zip
u-boot-imx-2db0e1278b9f11263e0a13326b57d4f99781f7ac.tar.gz
u-boot-imx-2db0e1278b9f11263e0a13326b57d4f99781f7ac.tar.bz2
sh: Fix cannot work rtl8139 on r2dplus
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/r2dplus.h3
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