>if (spi_nor_protocol_is_dtr(nor->read_proto)) {
> /* Always use 4-byte addresses in DTR mode. */
>nor->addr_width = 4;
because of nor->addr_width have been set to 4 when protocol is dtr
>} else if (nor->addr_width) {
>/* already configured fr
On 13/09/21 01:42PM, JaimeLiao wrote:
> Following linux kernel to check address width and 4byte flag to enable
> 4byte opcode setting.
>
> Signed-off-by: JaimeLiao
> ---
> drivers/mtd/spi/spi-nor-core.c | 4
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/mtd/spi/spi-nor-core.c
Following linux kernel to check address width and 4byte flag to enable
4byte opcode setting.
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index 4bcd58d839..81c61
3 matches
Mail list logo