diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2006-02-22 14:15:41 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2006-02-22 14:15:41 -0600 |
commit | 79582020313e6d992a3bac71cf3a9b337f9ac7f7 (patch) | |
tree | 5eefe0c7b244ffd0798e64f9a83ec7084032a816 /include/configs/CPCI405AB.h | |
parent | 230b31febf39f9d9f19679cf0112d9e30415122d (diff) | |
parent | 6624b687bc2b747233090e67628df37d1c84ed17 (diff) | |
download | u-boot-imx-79582020313e6d992a3bac71cf3a9b337f9ac7f7.zip u-boot-imx-79582020313e6d992a3bac71cf3a9b337f9ac7f7.tar.gz u-boot-imx-79582020313e6d992a3bac71cf3a9b337f9ac7f7.tar.bz2 |
Merge rsync://rsync.denx.de/git/u-boot
Diffstat (limited to 'include/configs/CPCI405AB.h')
-rw-r--r-- | include/configs/CPCI405AB.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/CPCI405AB.h b/include/configs/CPCI405AB.h index aaaafa9..9d52815 100644 --- a/include/configs/CPCI405AB.h +++ b/include/configs/CPCI405AB.h @@ -161,8 +161,8 @@ #define CFG_PCI_SUBSYS_DEVICEID 0x0405 /* PCI Device ID: CPCI-405 */ #define CFG_PCI_SUBSYS_DEVICEID2 0x0406 /* PCI Device ID: CPCI-405-A */ #define CFG_PCI_CLASSCODE 0x0b20 /* PCI Class Code: Processor/PPC*/ -#define CFG_PCI_PTM1LA 0x00000000 /* point to sdram */ -#define CFG_PCI_PTM1MS 0xfc000001 /* 64MB, enable hard-wired to 1 */ +#define CFG_PCI_PTM1LA (bd->bi_memstart) /* point to sdram */ +#define CFG_PCI_PTM1MS (~(bd->bi_memsize - 1) | 1) /* memsize, enable hard-wired to 1 */ #define CFG_PCI_PTM1PCI 0x00000000 /* Host: use this pci address */ #define CFG_PCI_PTM2LA 0xffc00000 /* point to flash */ #define CFG_PCI_PTM2MS 0xffc00001 /* 4MB, enable */ |