[U-Boot-Users] [PATCH 1/2] Add support for a Freescale non-CPM SPIcontroller

Ben Warren biggerbadderben at gmail.com
Mon Jan 14 05:37:31 CET 2008


Liu Dave wrote:
>>>> +typedef struct spi834x
>>>> +{
>>>> +       u8 res0[0x20];  /* 0x0-0x01f reserved */
>>>> +       u32 mode;       /* mode register  */
>>>> +       u32 event;      /* event register */
>>>> +       u32 mask;       /* mask register  */
>>>> +       u32 com;        /* command register */
>>>> +       u32 tx;         /* transmit register */
>>>> +       u32 rx;         /* receive register */
>>>> +       u8 res1[0xC8];  /* fill up to 0x100 */
>>>> + } spi834x_t;
>>>>     
>>>>         
>>> please put this into fsl_spi.h to reuse for different 8xxx family.
>>>   
>>>       
>> Can you confirm that the registers in 85xx are the same?  If so, I'll 
>> move this.
>>     
>
> Ben, at lease the 8610 has the same SPI as 834x.
>
> The 8360 and 8568 with CPU mode have likely SPI as 834x.
>
> Dave
>
>   
I don't have access to 8313 or 8610 reference manuals. Can you please 
verify the memory map of these two for me. I've verified that 8315 is 
identical.

regards,
Ben




More information about the U-Boot mailing list