mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
Merge with /home/tur/nand/u-boot
This commit is contained in:
commit
83784bf63f
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ int saveenv(void)
|
|||
int total, ret = 0;
|
||||
|
||||
puts ("Erasing Nand...");
|
||||
if (nand_erase(&nand_info[0], CFG_NEW_OFFSET, CFG_ENV_SIZE))
|
||||
if (nand_erase(&nand_info[0], CFG_ENV_OFFSET, CFG_ENV_SIZE))
|
||||
return 1;
|
||||
|
||||
puts ("Writing to Nand... ");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue