[PATCH v2 01/30] mtd: spi-nor: Add config to enable flash DTR

Jagan Teki jagan at amarulasolutions.com
Wed Dec 20 08:29:35 CET 2023


On Wed, Dec 6, 2023 at 3:02 PM Tejas Bhumkar
<tejas.arvind.bhumkar at amd.com> wrote:
>
> From: T Karthik Reddy <t.karthik.reddy at 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,


More information about the U-Boot mailing list