[U-Boot] [PATCH 2/2][v2] powerpc: make espi can read more than 0xFFFA bytes

Xie Shaohui-B21989 B21989 at freescale.com
Fri Apr 22 11:23:59 CEST 2011


>From: vapierfilter at gmail.com [mailto:vapierfilter at gmail.com] On Behalf Of
>Mike Frysinger
>Sent: Friday, April 22, 2011 1:17 AM
>To: Xie Shaohui-B21989
>Cc: u-boot at lists.denx.de; Gala Kumar-B11780; Zang Roy-R61911
>Subject: Re: [PATCH 2/2][v2] powerpc: make espi can read more than 0xFFFA
>bytes
>
>On Thu, Apr 21, 2011 at 2:05 AM, Shaohui Xie wrote:
>> espi flash read returns invalid data if the read length is more than
>> 0xFFFA bytes, it supports maximum transaction of 2^16 bytes at a time,
>> resister spcom[TRANLEN] is 16 bits. If the transaction length is
>> greater than  0xFFFF, it need to be split into multiple transactions.
>
>hrm, so how does this work under Linux ?  or does it just not ?

[Xie Shaohui] This does work under Linux, being solved in similar way.

 
Best Regards, 
Shaohui Xie



More information about the U-Boot mailing list