aboutsummaryrefslogtreecommitdiff
path: root/firmware/adaptec
diff options
context:
space:
mode:
authorMingkai Hu <Mingkai.hu@freescale.com>2010-12-21 09:26:07 +0800
committerGrant Likely <grant.likely@secretlab.ca>2010-12-24 01:53:41 -0700
commite6289d63a6f39237a027dcee46366ba158cb8406 (patch)
treefb27d2b1dca5ba2a89789788a2801f427dc3b26d /firmware/adaptec
parent020862648445d7c1b12ea213c152f27def703f3b (diff)
spi/fsl_espi: change the read behaviour of the SPIRF
The user must read N bytes of SPIRF (1 <= N <= 4) that do not exceed the amount of data in the receive FIFO, so read the SPIRF byte by byte when the data in receive FIFO is less than 4 bytes. On Simics, when read N bytes that exceed the amount of data in receive FIFO, we can't read the data out, that is we can't clear the rx FIFO, then the CPU will loop on the espi rx interrupt. Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'firmware/adaptec')
0 files changed, 0 insertions, 0 deletions