Re: [U-Boot] [PATCH] fsl_qspi: fix address mask issue

2016-02-02 Thread Jagan Teki
On 20 January 2016 at 06:43, Peng Fan wrote: > On Tue, Jan 19, 2016 at 09:07:18PM +0800, Ye Li wrote: >>The OFFSET_BITS_MASK should mask bit from 0-23. >>By using GENMASK(24, 0), when using the fast read common (0xb), a >>invalid sf_addr 0x100 is produced by swab32(txbuf) & OFFSET_BITS_MASK. >

Re: [U-Boot] [PATCH] fsl_qspi: fix address mask issue

2016-01-19 Thread Peng Fan
On Tue, Jan 19, 2016 at 09:07:18PM +0800, Ye Li wrote: >The OFFSET_BITS_MASK should mask bit from 0-23. >By using GENMASK(24, 0), when using the fast read common (0xb), a >invalid sf_addr 0x100 is produced by swab32(txbuf) & OFFSET_BITS_MASK. > >Signed-off-by: Ye Li >--- > drivers/spi/fsl_qspi

[U-Boot] [PATCH] fsl_qspi: fix address mask issue

2016-01-19 Thread Ye Li
The OFFSET_BITS_MASK should mask bit from 0-23. By using GENMASK(24, 0), when using the fast read common (0xb), a invalid sf_addr 0x100 is produced by swab32(txbuf) & OFFSET_BITS_MASK. Signed-off-by: Ye Li --- drivers/spi/fsl_qspi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)