diff options
author | Lokanathan, Raaj <raaj.lokanathan@intel.com> | 2022-07-29 19:22:45 +0800 |
---|---|---|
committer | Lokanathan, Raaj <raaj.lokanathan@intel.com> | 2022-10-06 15:15:25 +0800 |
commit | f91119e6f9b99b513ae5cb14cf514a331032a660 (patch) | |
tree | 3dc7693a06edce1aa0b6140641174b35126c80dc | |
parent | 9601862defaad39adc68ccd963f427f31ad8b746 (diff) | |
download | u-boot-socfpga-f91119e6f9b99b513ae5cb14cf514a331032a660.tar.gz |
spi: Remove speed and mode from spi_flash_probe_bus_cs
The reason for this change is to allow the user to decide whether to use dts,
speed and mode or the default value. This is related to the patch below.
https://patchwork.ozlabs.org/project/uboot/cover/20220518064648.1843664-1-\
patrice.chotard@foss.st.com/
Signed-off-by: Lokanathan, Raaj <raaj.lokanathan@intel.com>
-rw-r--r-- | arch/arm/mach-socfpga/misc_arria10.c | 2 | ||||
-rw-r--r-- | drivers/misc/fs_loader.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-socfpga/misc_arria10.c b/arch/arm/mach-socfpga/misc_arria10.c index 480fabc3bc..eb9171c5dd 100644 --- a/arch/arm/mach-socfpga/misc_arria10.c +++ b/arch/arm/mach-socfpga/misc_arria10.c @@ -220,8 +220,6 @@ 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 "); diff --git a/drivers/misc/fs_loader.c b/drivers/misc/fs_loader.c index f498b869c3..1728ef9782 100644 --- a/drivers/misc/fs_loader.c +++ b/drivers/misc/fs_loader.c @@ -331,8 +331,6 @@ static int fs_loader_probe(struct udevice *dev) #ifdef CONFIG_SPI_FLASH ret = spi_flash_probe_bus_cs(plat->sfconfig.bus, plat->sfconfig.cs, - plat->sfconfig.speed, - plat->sfconfig.mode, &plat->flash); #endif if (ret) { |