ramips: spi_nor: fix missing ext_addr

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
This commit is contained in:
DENG Qingfang 2019-09-08 00:14:37 +08:00 committed by AmadeusGhost
parent 35ef923b22
commit 32b2ea346d

View File

@ -204,3 +204,11 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
};
/**
@@ -297,6 +299,7 @@ struct spi_nor {
bool sst_write_second;
u32 flags;
u8 cmd_buf[SPI_NOR_MAX_CMD_SIZE];
+ bool ext_addr;
int (*prepare)(struct spi_nor *nor, enum spi_nor_ops ops);
void (*unprepare)(struct spi_nor *nor, enum spi_nor_ops ops);