diff options
author | Tom Rini <trini@konsulko.com> | 2022-10-25 09:54:59 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-10-25 09:54:59 -0400 |
commit | f9d16f2c0daf68dcb963c08c927f5f0a07cf75e4 (patch) | |
tree | 25237e7268de1d018aa9ac9eda20ac63e124c7bf /include/linux/mtd/spi-nor.h | |
parent | 3eebbd866bfa8e889e52d1734b574a585e076a5a (diff) | |
parent | 622b5d356136f9172db7fe7ba240cd9e45097a19 (diff) |
Merge https://source.denx.de/u-boot/custodians/u-boot-spi
- Add s28hl512t, s28hl01gt (Takahiro)
- Rework s25hx_t_post_bfpt_fixup() (Takahiro)
Diffstat (limited to 'include/linux/mtd/spi-nor.h')
-rw-r--r-- | include/linux/mtd/spi-nor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h index 638d807ee5..30f15452aa 100644 --- a/include/linux/mtd/spi-nor.h +++ b/include/linux/mtd/spi-nor.h @@ -494,6 +494,10 @@ struct spi_flash { * @rdsr_dummy dummy cycles needed for Read Status Register command. * @rdsr_addr_nbytes: dummy address bytes needed for Read Status Register * command. + * @addr_mode_nbytes: number of address bytes of current address mode. Useful + * when the flash operates with 4B opcodes but needs the + * internal address mode for opcodes that don't have a 4B + * opcode correspondent. * @bank_read_cmd: Bank read cmd * @bank_write_cmd: Bank write cmd * @bank_curr: Current flash bank @@ -540,6 +544,7 @@ struct spi_nor { u8 program_opcode; u8 rdsr_dummy; u8 rdsr_addr_nbytes; + u8 addr_mode_nbytes; #ifdef CONFIG_SPI_FLASH_BAR u8 bank_read_cmd; u8 bank_write_cmd; |