commit | 3feb0847a386f522bb07918eea57073962de410b | [log] [tgz] |
---|---|---|
author | Heiko Schocher <hs@denx.de> | Fri Jan 18 10:45:56 2019 +0100 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 18 09:26:16 2019 -0500 |
tree | 2586e32b02a39cb6a7307f41811f90194900a057 | |
parent | e47ab4db89e474dd0ec50736329c7feb99b78e47 [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>