[PATCH] cadence_qspi: Update the delays for flash reset
Michal Simek
michal.simek at amd.com
Wed Dec 10 08:36:19 CET 2025
On 11/26/25 19:21, Michal Simek wrote:
> From: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>
>
> Updating the delays for flash reset in the mini u-boot case.
> These experimental delay values by looking at different flash device
> vendors datasheets.
>
> Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
>
> drivers/spi/cadence_ospi_versal.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/spi/cadence_ospi_versal.c b/drivers/spi/cadence_ospi_versal.c
> index 0efbbf56a5e3..e3ddf127e5a8 100644
> --- a/drivers/spi/cadence_ospi_versal.c
> +++ b/drivers/spi/cadence_ospi_versal.c
> @@ -178,15 +178,15 @@ int cadence_qspi_flash_reset(struct udevice *dev)
>
> /* Disable Tri-state */
> writel((readl(BANK0_TRI) & ~BIT(FLASH_RESET_GPIO)), BANK0_TRI);
> - udelay(1);
> + udelay(5);
>
> /* Set value 0 to pin */
> writel((readl(BANK0_OUTPUT) & ~BIT(FLASH_RESET_GPIO)), BANK0_OUTPUT);
> - udelay(10);
> + udelay(150);
>
> /* Set value 1 to pin */
> writel((readl(BANK0_OUTPUT) | BIT(FLASH_RESET_GPIO)), BANK0_OUTPUT);
> - udelay(10);
> + udelay(1200);
>
> return 0;
> }
Applied.
M
More information about the U-Boot
mailing list