]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arch: arm: socfpga: Remove speed and mode from flash probe
authorNaresh Kumar Ravulapalli <nareshkumar.ravulapalli@altera.com>
Tue, 19 Aug 2025 04:25:55 +0000 (21:25 -0700)
committerTien Fong Chee <tien.fong.chee@intel.com>
Tue, 30 Sep 2025 06:29:51 +0000 (14:29 +0800)
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@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
arch/arm/mach-socfpga/misc_arria10.c

index c442af028881549517779e103928c7d6323c5984..7e0f3875b7cb25dc6a2353c1a3678db51ecc8693 100644 (file)
@@ -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,