diff options
author | Heiko Schocher <hs@denx.de> | 2019-01-18 10:45:56 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-18 13:40:36 -0500 |
commit | 3d5931e5986a49c44cdab845c6751d845812e8d8 (patch) | |
tree | a79b7b8282e29e820022d037b6f6f2c1d5d52c0d /include/config_distro_bootcmd.h | |
parent | 2c3ec20fcc326fe6ab22d7c6763d557622aebfaf (diff) |
env: sf: fix environment in SPI NOR
commit 9a9d66f5eff0 ("env: add spi_flash_read_env function")
breaks Environment functionality, as it reads only
until 2 \0 are found, but fills the buffer with 0x0
instead 0xff which leads in an incorrect crc sum.
Fix: init the read buffer with 0xff instead 0x00
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/config_distro_bootcmd.h')
0 files changed, 0 insertions, 0 deletions