On Wed, Dec 6, 2023 at 3:02 PM Tejas Bhumkar <tejas.arvind.bhum...@amd.com> wrote: > > From: T Karthik Reddy <t.karthik.re...@amd.com> > > The spi-nor framework will set up the flash parameters by > reading the flash id table flags, which include cmd opcodes, > address width, dummy bytes, and bus width. In case, flash > supports octal DTR mode and the controller does not support > the DTR. There is no process to switch back to SDR mode. > To avoid this issue, create a Kconfig option SPI_FLASH_DTR_ENABLE > to explicitly specify to enable/disable flash DTR support. > This config is disabled by default.
We cannot control controller fixup in flash, DTR read based on the DTR flag I don't think adding extra CONFIG to hack the controller with impact is. Jagan,