Re: [U-Boot] [PATCH] env_sf: support embedded environments

2008-12-15 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1228994617-11732-1-git-send-email-vap...@gentoo.org> you wrote: > If both CONFIG_ENV_SECT_SIZE and CONFIG_ENV_SIZE are defined, and the sect > size is larger than the env size, then it means the env is embedded in a > block. So we have to save/restore the part of

Re: [U-Boot] [PATCH] env_sf: support embedded environments

2008-12-11 Thread Haavard Skinnemoen
Mike Frysinger wrote: > If both CONFIG_ENV_SECT_SIZE and CONFIG_ENV_SIZE are defined, and the sect > size is larger than the env size, then it means the env is embedded in a > block. So we have to save/restore the part of the sector which is not the > environment. Previously, saving the environme

[U-Boot] [PATCH] env_sf: support embedded environments

2008-12-11 Thread Mike Frysinger
If both CONFIG_ENV_SECT_SIZE and CONFIG_ENV_SIZE are defined, and the sect size is larger than the env size, then it means the env is embedded in a block. So we have to save/restore the part of the sector which is not the environment. Previously, saving the environment in SPI flash in this setup