diff options
| author | Matthias Fuchs <matthias.fuchs@esd.eu> | 2012-11-02 14:30:34 +0100 | 
|---|---|---|
| committer | Stefan Roese <sr@denx.de> | 2012-12-06 15:53:04 +0100 | 
| commit | 468ebf190a737dd1021ca15ff350ceee2001372e (patch) | |
| tree | ea8dd4b93d237bc228e581c5dfe6796f3b4afd2c | |
| parent | fb3d2b8a3fc26ffb0127fd0fed90ff5f074e67d7 (diff) | |
| download | olio-uboot-2014.01-468ebf190a737dd1021ca15ff350ceee2001372e.tar.xz olio-uboot-2014.01-468ebf190a737dd1021ca15ff350ceee2001372e.zip | |
4xx: Fix PCI memory mapping on CPCI405 boards
This patch fixes an issue with overlapping PCI regions
on boards with more than 64MB RAM.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
| -rw-r--r-- | include/configs/CPCI405.h | 2 | ||||
| -rw-r--r-- | include/configs/CPCI4052.h | 2 | ||||
| -rw-r--r-- | include/configs/CPCI405AB.h | 2 | ||||
| -rw-r--r-- | include/configs/CPCI405DT.h | 2 | 
4 files changed, 4 insertions, 4 deletions
| diff --git a/include/configs/CPCI405.h b/include/configs/CPCI405.h index 9ecdad9c9..e3e5ebc53 100644 --- a/include/configs/CPCI405.h +++ b/include/configs/CPCI405.h @@ -174,7 +174,7 @@  #define CONFIG_SYS_PCI_PTM1PCI 0x00000000      /* Host: use this pci address   */  #define CONFIG_SYS_PCI_PTM2LA  0xffc00000      /* point to flash               */  #define CONFIG_SYS_PCI_PTM2MS  0xffc00001      /* 4MB, enable                  */ -#define CONFIG_SYS_PCI_PTM2PCI 0x04000000      /* Host: use this pci address   */ +#define CONFIG_SYS_PCI_PTM2PCI (bd->bi_memsize) /* host use this pci address */  #define CONFIG_PCI_4xx_PTM_OVERWRITE	1 /* overwrite PTMx settings by env */ diff --git a/include/configs/CPCI4052.h b/include/configs/CPCI4052.h index efab11991..c4fff486d 100644 --- a/include/configs/CPCI4052.h +++ b/include/configs/CPCI4052.h @@ -195,7 +195,7 @@  #define CONFIG_SYS_PCI_PTM1PCI 0x00000000      /* Host: use this pci address   */  #define CONFIG_SYS_PCI_PTM2LA  0xffc00000      /* point to flash               */  #define CONFIG_SYS_PCI_PTM2MS  0xffc00001      /* 4MB, enable                  */ -#define CONFIG_SYS_PCI_PTM2PCI 0x04000000      /* Host: use this pci address   */ +#define CONFIG_SYS_PCI_PTM2PCI (bd->bi_memsize) /* host use this pci address */  #define CONFIG_PCI_4xx_PTM_OVERWRITE	1 /* overwrite PTMx settings by env */ diff --git a/include/configs/CPCI405AB.h b/include/configs/CPCI405AB.h index 83e9a046a..9122cbd87 100644 --- a/include/configs/CPCI405AB.h +++ b/include/configs/CPCI405AB.h @@ -192,7 +192,7 @@  #define CONFIG_SYS_PCI_PTM1PCI 0x00000000	/* Host: use this pci address	*/  #define CONFIG_SYS_PCI_PTM2LA	0xffc00000	/* point to flash		*/  #define CONFIG_SYS_PCI_PTM2MS	0xffc00001	/* 4MB, enable			*/ -#define CONFIG_SYS_PCI_PTM2PCI 0x04000000	/* Host: use this pci address	*/ +#define CONFIG_SYS_PCI_PTM2PCI (bd->bi_memsize) /* host use this pci address */  #define CONFIG_PCI_4xx_PTM_OVERWRITE	1 /* overwrite PTMx settings by env */ diff --git a/include/configs/CPCI405DT.h b/include/configs/CPCI405DT.h index 1944a071b..f778af7e3 100644 --- a/include/configs/CPCI405DT.h +++ b/include/configs/CPCI405DT.h @@ -196,7 +196,7 @@  #define CONFIG_SYS_PCI_PTM1PCI 0x00000000      /* Host: use this pci address   */  #define CONFIG_SYS_PCI_PTM2LA  0xffc00000      /* point to flash               */  #define CONFIG_SYS_PCI_PTM2MS  0xffc00001      /* 4MB, enable                  */ -#define CONFIG_SYS_PCI_PTM2PCI 0x04000000      /* Host: use this pci address   */ +#define CONFIG_SYS_PCI_PTM2PCI (bd->bi_memsize) /* host use this pci address */  #define CONFIG_PCI_4xx_PTM_OVERWRITE	1 /* overwrite PTMx settings by env */ |