4xx: Fix PCI memory mapping on CPCI405 boards
[u-boot.git] / include / configs / CPCI4052.h
index efab11991d508cf15176435ac05410cdcd0e2854..c4fff486d88616e88079c6b72af8a195910a29f2 100644 (file)
 #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 */
 
This page took 0.025843 seconds and 4 git commands to generate.