diff options
| author | Stefan Roese <sr@denx.de> | 2006-01-18 20:03:15 +0100 | 
|---|---|---|
| committer | Stefan Roese <sr@denx.de> | 2006-01-18 20:03:15 +0100 | 
| commit | 2076d0a15ff1dba2b46d96e81d02d625254611ff (patch) | |
| tree | 022f104e6f363e11a0b47b9305fa04e0caccec3d /include/configs/CPCI2DP.h | |
| parent | c4b465f63e3b6fc998526dc217ff988e5c91e667 (diff) | |
| download | olio-uboot-2014.01-2076d0a15ff1dba2b46d96e81d02d625254611ff.tar.xz olio-uboot-2014.01-2076d0a15ff1dba2b46d96e81d02d625254611ff.zip | |
PMC405 and CPCI405: Moved configuration of pci resources into config file.
PMC405 and CPCI2DP: Added firmware download and booting via pci.
Patch by Matthias Fuchs, 20 Dec 2005
Diffstat (limited to 'include/configs/CPCI2DP.h')
| -rw-r--r-- | include/configs/CPCI2DP.h | 10 | 
1 files changed, 6 insertions, 4 deletions
| diff --git a/include/configs/CPCI2DP.h b/include/configs/CPCI2DP.h index 756bb8cea..56fd9a6d3 100644 --- a/include/configs/CPCI2DP.h +++ b/include/configs/CPCI2DP.h @@ -143,8 +143,9 @@  #define CFG_PCI_SUBSYS_VENDORID 0x12FE  /* PCI Vendor ID: esd gmbh      */  #define CFG_PCI_SUBSYS_DEVICEID 0x040b  /* PCI Device ID: CPCI-2DP      */  #define CFG_PCI_CLASSCODE       0x0280	/* PCI Class Code: Network/Other*/ -#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	0xef000000	/* point to internal regs + PB0/1 */  #define CFG_PCI_PTM2MS  0xff000001      /* 16MB, enable                  */ @@ -250,14 +251,15 @@  #define CFG_INIT_RAM_ADDR	0x40000000  /* use data cache		       */  #define CFG_INIT_RAM_END	0x2000	/* End of used area in RAM	       */ -#define CFG_GBL_DATA_SIZE      128  /* size in bytes reserved for initial data */ -#define CFG_GBL_DATA_OFFSET    (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE) +#define CFG_GBL_DATA_SIZE       128  /* size in bytes reserved for initial data */ +#define CFG_GBL_DATA_OFFSET     (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE)  #define CFG_INIT_SP_OFFSET	CFG_GBL_DATA_OFFSET  /*-----------------------------------------------------------------------   * GPIO definitions   */  #define CFG_EEPROM_WP		(0x80000000 >> 13)   /* GPIO13 */ +#define CFG_SELF_RST		(0x80000000 >> 14)   /* GPIO14 */  #define CFG_PB_LED		(0x80000000 >> 16)   /* GPIO16 */  #define CFG_INTA_FAKE		(0x80000000 >> 23)   /* GPIO23 */ |