You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mtd: spi-nor: Fix RX tuning failure for OSPI flashes connected in stacked mode
RX tuning failure was observed when two OSPI flashes connected in stacked
were operating in DDR mode. In 'commit e246f0d ("mtd: spi-nor: Add
stacked mode support for OSPI flash parts")' for stacked mode the RX tuning
will get triggered only for one flash i.e., when the upper flash is set to
OCTAL DDR mode, the RX truing is not triggered for the lower flash.
The current implementation doesn't set the upper flash to DDR, it only sets
the lower flash to DRR mode, as a result the RX tuning is never triggered
and flash read/write failure are observed. Update spi_nor_set_octal_dtr()
to set both the flashes to DDR mode and fix flash read/write failures.
Segmentation error were observed while performing erase/read/write
operation at the upper boundary of the upper flash. Updated die crossover
logic in erase/read/write APIs to fix the issue.
Fixes: c376310 ("mtd: spi-nor: Add stacked memories support in spi-nor")
Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
0 commit comments