]> git.dujemihanovic.xyz Git - u-boot.git/commit
powerpc/espi: remove write command length check
authorShaohui Xie <Shaohui.Xie@freescale.com>
Thu, 11 Oct 2012 20:31:46 +0000 (20:31 +0000)
committerAndy Fleming <afleming@freescale.com>
Mon, 22 Oct 2012 20:52:46 +0000 (15:52 -0500)
commit9905757e298f37c59587d1a07b1ad8cdbed4e063
treeb22201d1eeb4d945452aa7b103671f02081da9ff
parent1f3bd3e239fb0542128f7c911829c9f0360b0d8f
powerpc/espi: remove write command length check

Current espi controller driver assumes the command length of write command is
not equal to '1', it was made based on SPANSION SPI flash, but some SPI flash
driver such as SST does use write command length as '1', so write command on
SST SPI flash will not work. And the length check for write command is not
necessary for SPANSION, though it's harmless for SPANSION, it will stop write
operation on flashes like SST, so we remove the check.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
drivers/spi/fsl_espi.c