提交 3d65390e 编写于 作者: B Bartlomiej Sieka

Fixed a bug in saveenv(). Credit: Markus Klotzbuecher.

> @@ -115,7 +115,7 @@ int saveenv(void)
上级 addb2e16
......@@ -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... ");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册