diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/common.h | 4 | ||||
| -rw-r--r-- | include/configs/TQM85xx.h | 4 | ||||
| -rw-r--r-- | include/configs/yucca.h | 26 | ||||
| -rw-r--r-- | include/usb.h | 1 | 
4 files changed, 22 insertions, 13 deletions
| diff --git a/include/common.h b/include/common.h index e4637ad35..bd41ae179 100644 --- a/include/common.h +++ b/include/common.h @@ -245,6 +245,9 @@ void	pciinfo	      (int, int);  	void	pci_master_init	     (struct pci_controller *);  #   endif      int	    is_pci_host		(struct pci_controller *); +#if defined(CONFIG_440SPE) +   void pcie_setup_hoses(void); +#endif  #endif  int	misc_init_f   (void); @@ -462,6 +465,7 @@ void	get_sys_info  ( sys_info_t * );  #	if defined(CONFIG_440SPE)  	 unsigned long determine_sysper(void);  	 unsigned long determine_pci_clock_per(void); +	 int ppc440spe_revB(void);  #	endif  #  else      typedef PPC405_SYS_INFO sys_info_t; diff --git a/include/configs/TQM85xx.h b/include/configs/TQM85xx.h index 780f27433..bc3b9aa1d 100644 --- a/include/configs/TQM85xx.h +++ b/include/configs/TQM85xx.h @@ -424,7 +424,7 @@  #define CONFIG_BOOTDELAY 5		/* -1 disables auto-boot	*/  #define CONFIG_PREBOOT	"echo;"	\ -	"echo Type \"run flash_nfs\" to mount root filesystem over NFS;" \ +	"echo Type \\\"run flash_nfs\\\" to mount root filesystem over NFS;" \  	"echo"  #undef	CONFIG_BOOTARGS		/* the boot command will set bootargs	*/ @@ -449,7 +449,7 @@  		"run nfsargs addip addcons;bootm\0"			\  	"rootpath=/opt/eldk/ppc_85xx\0"					\  	"kernel_addr=FE000000\0"					\ -	"ramdisk_addr=FE100000\0"					\ +	"ramdisk_addr=FE180000\0"					\  	"load=tftp 100000 /tftpboot/$hostname/u-boot.bin\0"		\  	"update=protect off fffc0000 ffffffff;era fffc0000 ffffffff;"	\  		"cp.b 100000 fffc0000 40000;"			        \ diff --git a/include/configs/yucca.h b/include/configs/yucca.h index f027d72d6..884f85c31 100644 --- a/include/configs/yucca.h +++ b/include/configs/yucca.h @@ -63,17 +63,20 @@  #define CFG_PERIPHERAL_BASE	0xa0000000	/* internal peripherals	*/  #define CFG_ISRAM_BASE		0x90000000	/* internal SRAM	*/ -#define CFG_PCI_MEMBASE		0x80000000	/* mapped pci memory	*/ -#define CFG_PCI_MEMBASE1	0x90000000	/* mapped pci memory	*/ -#define CFG_PCI_MEMBASE2	0xa0000000	/* mapped pci memory	*/ -#define CFG_PCI_MEMBASE3	0xb0000000	/* mapped pci memory	*/ - +#define CFG_PCI_MEMBASE		0x80000000	/* mapped PCI memory	*/  #define CFG_PCI_BASE		0xd0000000	/* internal PCI regs	*/ -#define CFG_PCI_TARGBASE	0x80000000	/*PCIaddr mapped to CFG_PCI_MEMBASE*/ +#define CFG_PCI_TARGBASE	CFG_PCI_MEMBASE + +#define CFG_PCIE_MEMBASE	0xb0000000	/* mapped PCIe memory	*/ +#define CFG_PCIE_MEMSIZE	0x01000000 +#define CFG_PCIE_BASE		0xe0000000	/* PCIe UTL regs */ -/* #define CFG_PCI_BASE_IO	0xB8000000 */	/* internal PCI I-O	*/ -/* #define CFG_PCI_BASE_REGS	0xBEC00000 */	/* internal PCI regs	*/ -/* #define CFG_PCI_BASE_CYCLE	0xBED00000 */	/* internal PCI regs	*/ +#define CFG_PCIE0_CFGBASE	0xc0000000 +#define CFG_PCIE0_XCFGBASE	0xc0000400 +#define CFG_PCIE1_CFGBASE	0xc0001000 +#define CFG_PCIE1_XCFGBASE	0xc0001400 +#define CFG_PCIE2_CFGBASE	0xc0002000 +#define CFG_PCIE2_XCFGBASE	0xc0002400  /* System RAM mapped to PCI space */  #define CONFIG_PCI_SYS_MEM_BUS	CFG_SDRAM_BASE @@ -301,6 +304,7 @@   */  /* Support for Intel 82557/82559/82559ER chips. */  #define CONFIG_EEPRO100 +  /*   * For booting Linux, the board info and command line data   * have to be in the first 8 MB of memory, since this is @@ -515,8 +519,8 @@  #define FPGA_REG1C_PE1_WAKE		0x0040  #define FPGA_REG1C_PE2_WAKE		0x0020  #define FPGA_REG1C_PE0_PERST		0x0010 -#define FPGA_REG1C_PE1_PERST		0x0080 -#define FPGA_REG1C_PE2_PERST		0x0040 +#define FPGA_REG1C_PE1_PERST		0x0008 +#define FPGA_REG1C_PE2_PERST		0x0004  /*----------------------------------------------------------------------------+  | Defines diff --git a/include/usb.h b/include/usb.h index 39d7f23cc..bf7155404 100644 --- a/include/usb.h +++ b/include/usb.h @@ -108,6 +108,7 @@ struct usb_interface_descriptor {  	unsigned char  iInterface;  	unsigned char  no_of_ep; +	unsigned char  num_altsetting;  	unsigned char  act_altsetting;  	struct usb_endpoint_descriptor ep_desc[USB_MAXENDPOINTS];  } __attribute__ ((packed)); |