[PATCH v5] mtd: spi-nor: Fix SST AAI write mode opcode handling

Sanjaikumar V S sanjaikumarvs at gmail.com
Mon Apr 20 02:02:37 PDT 2026


Hi Pratyush,

In v4 you suggested updating dirmap_info with the right opcodes. I went
with a different approach in v5 -- disabling dirmap for SST AAI devices
in sst_nor_late_init() instead. The reasoning is that updating
dirmap_info at runtime is problematic since AAI requires dynamic opcode
and address byte changes per write, and controllers may cache the
template at dirmap_create time.

Hendrik has tested this approach on his SST25VF032B.

Does this approach work for you, or would you prefer a different
direction?

Thanks,
Sanjaikumar



More information about the linux-mtd mailing list