[U-Boot] [PATCH 1/3] spi: fsl_qspi: fix an error of using GENMASK

Jagan Teki jteki at openedev.com
Thu Jan 7 16:27:26 CET 2016


On 14 December 2015 at 16:06, Gong Qianyu <Qianyu.Gong at freescale.com> wrote:
> This commit fixes the change of bad490a24212c068c5b718b9189f47ea4075d078.
>
> Signed-off-by: Gong Qianyu <Qianyu.Gong at freescale.com>
> ---
>  drivers/spi/fsl_qspi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c
> index ed39114..d8d37cd 100644
> --- a/drivers/spi/fsl_qspi.c
> +++ b/drivers/spi/fsl_qspi.c
> @@ -24,7 +24,7 @@ DECLARE_GLOBAL_DATA_PTR;
>  #define TX_BUFFER_SIZE         0x40
>  #endif
>
> -#define OFFSET_BITS_MASK       GENMASK(24, 0)
> +#define OFFSET_BITS_MASK       GENMASK(23, 0)
>
>  #define FLASH_STATUS_WEL       0x02
>

Applied to u-boot-spi/master

-- 
Jagan.


More information about the U-Boot mailing list