On Fri, Jan 18, 2019 at 10:45:56AM +0100, Heiko Schocher wrote:

> 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 <h...@denx.de>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to