
From: Xie Shaohui-B21989 Sent: Friday, April 22, 2011 4:31 PM To: u-boot@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@freescale.com Cc: Mike Frysinger vapier@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