board: da8xxevm: Fix Environmental CRC error
PATCH 1/1 board: da8xxevm: Fix Environmental CRC error
When the spi_flash_probe_bus_cs() was previously called, it was called using 0's for two values where CONFIG_ENV_SPI_MAX_HZ and CONFIG_ENV_SPI_MODE are now used. When changed this caused the environment to fail the CRC check and the default was used. This patch defines both of these values back 0.
Fixes 25a17652c9c2 ("fix: env: Fix the SPI flash device setup
for DM mode")
Signed-off-by Adam Ford <[email protected]>
include/configs/da850evm.h +2 -1
@@ -124,8 +124,9 @@#ifdef CONFIG_SPL_BUILD #define CONFIG_SYS_SPI_BASE DAVINCI_SPI1_BASE#define CONFIG_SF_DEFAULT_SPEED 30000000 -#define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED#endif +#define CONFIG_ENV_SPI_MAX_HZ 0 +#define CONFIG_ENV_SPI_MODE 0#ifdef CONFIG_USE_SPIFLASH #define CONFIG_SYS_SPI_U_BOOT_OFFS 0x8000
Signature · 1 line
2.17.1
include/configs/da850evm.h
Quoted 13 lines · Adam Ford
When the
spi_flash_probe_bus_cs()was previously called, it was called using 0's for two values whereCONFIG_ENV_SPI_MAX_HZandCONFIG_ENV_SPI_MODEare now used. When changed this caused the environment to fail the CRC check and the default was used. This patch defines both of these values back 0.Fixes 25a17652c9c2 ("fix: env: Fix the SPI flash device setupfor DM mode")
Signed-off-by Adam Ford <[email protected]>include/configs/da850evm.h +0
-0
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181127/b2ba5c99/attachment.sig>