summaryrefslogtreecommitdiff
path: root/include/configs/sh7785lcr.h
diff options
context:
space:
mode:
authorYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>2009-02-25 14:26:42 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2009-03-12 23:58:30 +0900
commit06b18163b57e6b0349b0c299222d50e7b1e41e50 (patch)
tree3f1e3665b801ef1c945ecdac1b11c46f18f48cd2 /include/configs/sh7785lcr.h
parent06e2735eb85cbea7cecb3c308d6d078b3651b22c (diff)
downloadu-boot-imx-06b18163b57e6b0349b0c299222d50e7b1e41e50.zip
u-boot-imx-06b18163b57e6b0349b0c299222d50e7b1e41e50.tar.gz
u-boot-imx-06b18163b57e6b0349b0c299222d50e7b1e41e50.tar.bz2
sh: Add some register value configurable to PCI of SH7780
Some register value was hardcoded for System memory size 128MB and memory offset 0x08000000. This patch fixed the problem. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include/configs/sh7785lcr.h')
-rw-r--r--include/configs/sh7785lcr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h
index b4361ca..94c8d6b 100644
--- a/include/configs/sh7785lcr.h
+++ b/include/configs/sh7785lcr.h
@@ -133,6 +133,9 @@
#define CONFIG_PCI
#define CONFIG_SH4_PCI
#define CONFIG_SH7780_PCI
+#define CONFIG_SH7780_PCI_LSR 0x07f00001
+#define CONFIG_SH7780_PCI_LAR CONFIG_SYS_SDRAM_SIZE
+#define CONFIG_SH7780_PCI_BAR CONFIG_SYS_SDRAM_SIZE
#define CONFIG_PCI_PNP
#define CONFIG_PCI_SCAN_SHOW 1