spi/qspi.h: Fix data type of buflen
Summary: - This patch change the data type of buflen in qspi_meminfo_s - from uint16_t to uint32_t to allow data size greater than 64KB. Impact: - QSPI & some flash like s25fl1 etc Testing: - Tested with rm69330 oled controller on custom board Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
ce228e5de5
commit
0a2873a37f
@ -268,8 +268,8 @@ struct qspi_meminfo_s
|
||||
uint8_t flags; /* See QSPMEM_* definitions */
|
||||
uint8_t addrlen; /* Address length in bytes */
|
||||
uint8_t dummies; /* Number of dummy read cycles (READ only) */
|
||||
uint16_t buflen; /* Data buffer length in bytes */
|
||||
uint16_t cmd; /* Memory access command */
|
||||
uint32_t buflen; /* Data buffer length in bytes */
|
||||
uint32_t addr; /* Memory Address */
|
||||
uint32_t key; /* Scrambler key */
|
||||
FAR void *buffer; /* Data buffer */
|
||||
|
Loading…
Reference in New Issue
Block a user