Re: [PATCH resend 4/5] mpc8xxx_spi: always use 8-bit characters, don't read or write garbage

2020-03-31 Thread Tom Rini
On Tue, Feb 11, 2020 at 03:20:25PM +, Rasmus Villemoes wrote: > There are a few problems with the current driver. > > First, it unconditionally reads from dout/writes to din whether or not > those pointers are NULL. So for example a simple "sf probe" ends up > writing four bytes at address

[PATCH resend 4/5] mpc8xxx_spi: always use 8-bit characters, don't read or write garbage

2020-02-11 Thread Rasmus Villemoes
There are a few problems with the current driver. First, it unconditionally reads from dout/writes to din whether or not those pointers are NULL. So for example a simple "sf probe" ends up writing four bytes at address 0: => md.l 0x0 8 : 45454545 45454545 05050505 05050505