diff options
author | Takahiro Kuwano <Takahiro.Kuwano@infineon.com> | 2022-09-01 15:05:33 +0900 |
---|---|---|
committer | Jagan Teki <jagan@edgeble.ai> | 2022-10-23 10:50:38 +0530 |
commit | 7a4b6f8cf72e3566fd67ea840d248d8a34b8083e (patch) | |
tree | 6eb1eb49ec43e5e09915b242ae2ff4e7b7571d1a /drivers/ddr/imx | |
parent | f58e7b24faae2f01f59182405fb0a11ff2707cb7 (diff) |
mtd: spi-nor-core: Rework s25hx_t_post_bfpt_fixup() for flash's internal address mode
The flash's internal address mode is tracked by nor->add_mode_nbytes and
it is set to 3 in BFPT parse. SEMPER multi-die package parts (>1Gb) are
3- or 4-byte address mode by default, depending on model number. We need
to make sure that 4-byte address mode is used for multi-die package parts.
For single-die package parts (<=1Gb), registers can be accessed by 3-byte
address. Read, program, and erase use the 4B opcodes that always take
4-byte address regardless of flash's internal address mode.
Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers/ddr/imx')
0 files changed, 0 insertions, 0 deletions