Heiko Schocher 3d5931e598 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>
2019-01-18 13:40:36 -05:00
..
2019-01-09 07:13:32 -05:00
2019-01-18 13:40:36 -05:00
2018-08-24 16:00:48 -04:00