Skip to content
Snippets Groups Projects
Commit 83784bf6 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Merge with /home/tur/nand/u-boot

parents 9c575e51 3d65390e
No related merge requests found
......@@ -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... ");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment