summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kumar Ravulapalli <[email protected]>2025-08-18 21:25:55 -0700
committerTien Fong Chee <[email protected]>2025-09-30 14:29:51 +0800
commit27e13c9c8d07e6dc626a7f553e7690c6fe4e1cd0 (patch)
tree66fdc6703f232b6c992ddcd71fd38113e8c50d5b
parentf6dbe41638be6de0071d84073483dc9aaefbdadd (diff)
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]> Reviewed-by: Tien Fong Chee <[email protected]>
-rw-r--r--arch/arm/mach-socfpga/misc_arria10.c3
1 files changed, 0 insertions, 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,