]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/CPCI405.h
4xx: Fix PCI memory mapping on CPCI405 boards
[karo-tx-uboot.git] / include / configs / CPCI405.h
index 9ecdad9c9748c696ec8f9f573c33923d4d277e33..e3e5ebc53c33b37979ff248ebfd9ac1645359f80 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 */