[PATCH] arch: arm: socfpga: Remove speed and mode from flash probe
Chee, Tien Fong
tien.fong.chee at altera.com
Mon Aug 25 06:20:19 CEST 2025
> -----Original Message-----
> From: Ravulapalli, Naresh Kumar <naresh.kumar.ravulapalli at altera.com>
> Sent: Tuesday, August 19, 2025 12:26 PM
> To: u-boot at lists.denx.de
> Cc: Marek Vasut <marex at denx.de>; Simon Goldschmidt
> <simon.k.r.goldschmidt at gmail.com>; Chee, Tien Fong
> <tien.fong.chee at altera.com>; Tom Rini <trini at konsulko.com>; Ravulapalli,
> Naresh Kumar <naresh.kumar.ravulapalli at altera.com>
> 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
> <nareshkumar.ravulapalli at altera.com>
> ---
> 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 <tien.fong.chee at altera.com>
Best regards,
Tien Fong
More information about the U-Boot
mailing list