[PATCH v2 08/10] spi: dw: Add mem_ops

Sean Anderson seanga2 at gmail.com
Sat Aug 8 13:36:12 CEST 2020

On 8/7/20 10:43 AM, Sean Anderson wrote:
> +/* The size of ctrl1 limits data transfers to 64K */
> +static int dw_spi_adjust_op_size(struct spi_slave *slave, struct spi_mem_op *op)
> +{
> +	op->data.nbytes = min(op->data.nbytes, (unsigned int)SZ_64K);

This isn't defined for SoCFPGAs [1], so I'm using 0x10000 in the next
revision. Other than that CI is passing.

[1] https://dev.azure.com/seanga2/u-boot/_build/results?buildId=14&view=logs&j=673723c4-497f-506b-4750-995fcb7877b8&t=b5278753-2bf3-55ba-a142-eaf3481f5b3e&l=685


More information about the U-Boot mailing list