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

Xie Shaohui-B21989 B21989 at freescale.com
Tue Apr 26 08:31:32 CEST 2011


>From: Xie Shaohui-B21989
>Sent: Friday, April 22, 2011 4:31 PM
>To: u-boot at lists.denx.de
>Cc: Gala Kumar-B11780; Zang Roy-R61911; Xie Shaohui-B21989; Mike Frysinger
>Subject: [PATCH 2/2][v3] powerpc: make espi can read more than 0xFFFA
>bytes
>
>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.
>
>Signed-off-by: Shaohui Xie <b21989 at freescale.com>
>Cc: Mike Frysinger <vapier at gentoo.org>
>---
>changes for v2:
>fix some compile warnings.
>remove ifdef and use if else instead.
>
>changes for v3:
>rebased on first patch.
>

[Xie Shaohui] This patch is not needed any more; I have merged it to previous patch and resend it as v4.


Best Regards, 
Shaohui Xie




More information about the U-Boot mailing list