From 06b18163b57e6b0349b0c299222d50e7b1e41e50 Mon Sep 17 00:00:00 2001 From: Yoshihiro Shimoda Date: Wed, 25 Feb 2009 14:26:42 +0900 Subject: 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 Signed-off-by: Nobuhiro Iwamatsu --- include/configs/r7780mp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/configs/r7780mp.h') diff --git a/include/configs/r7780mp.h b/include/configs/r7780mp.h index 72a3b5c8b1..88eb56821f 100644 --- a/include/configs/r7780mp.h +++ b/include/configs/r7780mp.h @@ -129,6 +129,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 #define __io -- cgit v1.2.1