mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
Merge "ARM: env_nand: Updated env to use complete partition"
This commit is contained in:
commit
23f6546a5d
1 changed files with 2 additions and 2 deletions
|
|
@ -128,7 +128,7 @@ int nand_env_init(void)
|
|||
*/
|
||||
static int writeenv(size_t offset, u_char *buf)
|
||||
{
|
||||
size_t end = offset + CONFIG_ENV_RANGE;
|
||||
size_t end = offset + board_env_size;
|
||||
size_t amount_saved = 0;
|
||||
size_t blocksize, len;
|
||||
u_char *char_ptr;
|
||||
|
|
@ -243,7 +243,7 @@ static int readenv(size_t offset, u_char *buf)
|
|||
#else
|
||||
static int readenv(size_t offset, u_char *buf)
|
||||
{
|
||||
size_t end = offset + CONFIG_ENV_RANGE;
|
||||
size_t end = offset + board_env_size;
|
||||
size_t amount_loaded = 0;
|
||||
size_t blocksize, len;
|
||||
u_char *char_ptr;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue