diff options
Diffstat (limited to 'arch/powerpc/include/asm/cpm.h')
| -rw-r--r-- | arch/powerpc/include/asm/cpm.h | 24 | 
1 files changed, 24 insertions, 0 deletions
| diff --git a/arch/powerpc/include/asm/cpm.h b/arch/powerpc/include/asm/cpm.h index 0835eb977ba..e50323fe941 100644 --- a/arch/powerpc/include/asm/cpm.h +++ b/arch/powerpc/include/asm/cpm.h @@ -7,6 +7,30 @@  #include <linux/of.h>  /* + * SPI Parameter RAM common to QE and CPM. + */ +struct spi_pram { +	__be16	rbase;	/* Rx Buffer descriptor base address */ +	__be16	tbase;	/* Tx Buffer descriptor base address */ +	u8	rfcr;	/* Rx function code */ +	u8	tfcr;	/* Tx function code */ +	__be16	mrblr;	/* Max receive buffer length */ +	__be32	rstate;	/* Internal */ +	__be32	rdp;	/* Internal */ +	__be16	rbptr;	/* Internal */ +	__be16	rbc;	/* Internal */ +	__be32	rxtmp;	/* Internal */ +	__be32	tstate;	/* Internal */ +	__be32	tdp;	/* Internal */ +	__be16	tbptr;	/* Internal */ +	__be16	tbc;	/* Internal */ +	__be32	txtmp;	/* Internal */ +	__be32	res;	/* Tx temp. */ +	__be16  rpbase;	/* Relocation pointer (CPM1 only) */ +	__be16	res1;	/* Reserved */ +}; + +/*   * USB Controller pram common to QE and CPM.   */  struct usb_ctlr { | 
