On Fri, Jun 30, 2017 at 02:14:33PM +0200, Sascha Hauer wrote: > This is wrong. MX51_ECSPI_CTRL_MAX_BURST contains the burst length in > bytes, but the register 'val' is written to takes the burst length in > bits - 1, so this should be: > val = MX51_ECSPI_CTRL_MAX_BURST * 8 - 1; > instead. Well, it breaks the build anyway so I'll revert.