mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-17 09:41:37 +01:00
env_nand: Updated erase size to partition size
erase complete partiton size, board_env_size. Change-Id: Ib0f7e65f49fbd29cd265f5ff12cd03424db61227 Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
This commit is contained in:
parent
f46ee781bf
commit
ee2ddf9dc2
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ int nand_saveenv(void)
|
|||
{
|
||||
.name = "NAND",
|
||||
.erase_opts = {
|
||||
.length = CONFIG_ENV_RANGE,
|
||||
.length = board_env_size,
|
||||
.offset = CONFIG_ENV_OFFSET,
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue