From: Siva Durga Prasad Paladugu Date: Wed, 29 Jun 2016 09:26:12 +0000 (+0530) Subject: spi: Change data type for flags to u32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a7ba5045b4ced1b146cf041b89aa09130fecb62e;p=thirdparty%2Fu-boot.git spi: Change data type for flags to u32 Correct the data type for flags variable as declaring it as u8 causes SPI flash issues for generic QSPI support. Signed-off-by: Siva Durga Prasad Paladugu --- diff --git a/include/spi.h b/include/spi.h index 858f1710def..cc6575e2ac0 100644 --- a/include/spi.h +++ b/include/spi.h @@ -147,7 +147,7 @@ struct spi_slave { u8 option; u8 dio; u32 bytemode; - u8 flags; + u32 flags; #define SPI_XFER_BEGIN BIT(0) /* Assert CS before transfer */ #define SPI_XFER_END BIT(1) /* Deassert CS after transfer */ #define SPI_XFER_ONCE (SPI_XFER_BEGIN | SPI_XFER_END)