]> git.dujemihanovic.xyz Git - u-boot.git/commit
env_sf: updated to the new environment code
authorStefano Babic <sbabic@denx.de>
Wed, 27 Oct 2010 09:06:20 +0000 (11:06 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 27 Oct 2010 18:30:23 +0000 (20:30 +0200)
commita3110f01c408713e98756f136e09ec2bf0b16625
treec63cbf950bd08e0c58e7049733f6ceb523d7f1da
parentf0fee6a6469509a6cf1df88a81a73735f74b5a5d
env_sf: updated to the new environment code

Functions to store/retrieve the environment from a SPI flash was not updated
to the new environment code. The non-redundant case was
not working correctly, reporting ""Environment SPI flash not initialized"
and the code was not compiled clean in the redundant case.

The patch fixes these issue and makes the code more coherent
with other environment storage (nand, flash).

Signed-off-by: Stefano Babic <sbabic@denx.de>
common/env_sf.c