Re: [PATCH v5] mtd: spi-nor: Fix SST AAI write mode opcode handling
From: Sanjaikumar V S
Date: Mon Apr 20 2026 - 05:03:44 EST
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