> -----Original Message-----
> From: Ravulapalli, Naresh Kumar <[email protected]>
> Sent: Tuesday, August 19, 2025 12:26 PM
> To: [email protected]
> Cc: Marek Vasut <[email protected]>; Simon Goldschmidt
> <[email protected]>; Chee, Tien Fong
> <[email protected]>; Tom Rini <[email protected]>; Ravulapalli,
> Naresh Kumar <[email protected]>
> Subject: [PATCH] arch: arm: socfpga: Remove speed and mode from flash
> probe
>
> Change is to allow the user to choose speed and mode values from dts or the
> default ones.
>
> Signed-off-by: Naresh Kumar Ravulapalli
> <[email protected]>
> ---
> arch/arm/mach-socfpga/misc_arria10.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/arm/mach-socfpga/misc_arria10.c b/arch/arm/mach-
> socfpga/misc_arria10.c
> index c442af02888..7e0f3875b7c 100644
> --- a/arch/arm/mach-socfpga/misc_arria10.c
> +++ b/arch/arm/mach-socfpga/misc_arria10.c
> @@ -214,10 +214,7 @@ int qspi_flash_software_reset(void)
> /* Get the flash info */
> ret = spi_flash_probe_bus_cs(CONFIG_SF_DEFAULT_BUS,
> CONFIG_SF_DEFAULT_CS,
> - CONFIG_SF_DEFAULT_SPEED,
> - CONFIG_SF_DEFAULT_MODE,
> &flash);
> -
> if (ret) {
> debug("Failed to initialize SPI flash at ");
> debug("%u:%u (error %d)\n", CONFIG_SF_DEFAULT_BUS,
> --
> 2.35.3
Reviewed-by: Tien Fong Chee <[email protected]>
Best regards,
Tien Fong