mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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@altera.com> Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
This commit is contained in:
committed by
Tien Fong Chee
parent
f6dbe41638
commit
27e13c9c8d
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user