mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-17 12:11:35 +00:00
Fixed a bug in saveenv(). Credit: Markus Klotzbuecher.
> @@ -115,7 +115,7 @@ int saveenv(void)
This commit is contained in:
parent
addb2e1650
commit
3d65390e21
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ int saveenv(void)
|
||||||
int total, ret = 0;
|
int total, ret = 0;
|
||||||
|
|
||||||
puts ("Erasing Nand...");
|
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;
|
return 1;
|
||||||
|
|
||||||
puts ("Writing to Nand... ");
|
puts ("Writing to Nand... ");
|
||||||
|
|
Loading…
Add table
Reference in a new issue