diff options
author | Konstantin Porotchkin <kostap@marvell.com> | 2018-08-29 16:34:52 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2018-09-19 09:02:34 +0200 |
commit | 25a17652c9c2cc4d88098121fc6a2b8f90020531 (patch) | |
tree | 75d7a42367f5338a2c493b843151615d76400359 /env/Makefile | |
parent | e76afd84095a10e7cd9d8ee6b74ed94941e5f4f8 (diff) | |
download | u-boot-25a17652c9c2cc4d88098121fc6a2b8f90020531.tar.gz u-boot-25a17652c9c2cc4d88098121fc6a2b8f90020531.tar.bz2 u-boot-25a17652c9c2cc4d88098121fc6a2b8f90020531.zip |
fix: env: Fix the SPI flash device setup for DM mode
For some reason the spi_flash_probe_bus_cs() is called
inside the setup_flash_device() with zero values in place
of configurated SPI flash mode and maximum flash speed.
This code causes HALT error during startup environment
relocation on some platforms - namely Armada-38x-GP board.
Fix the function call by replacing zeros with the appropriate
values - CONFIG_ENV_SPI_MAX_HZ and CONFIG_ENV_SPI_MODE.
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Cc: Igal Liberman <igall@marvell.com>
Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'env/Makefile')
0 files changed, 0 insertions, 0 deletions