diff options
author | Wolfgang Denk <wd@denx.de> | 2008-12-05 00:16:21 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-12-05 00:16:21 +0100 |
commit | 6226db68af76bec165bfdfd04ef52d9a54345917 (patch) | |
tree | 1ec1a49c70c720689235d73f01cc225064677c20 | |
parent | 29382d4064fbaff5daacff4c3209370fa5713966 (diff) | |
parent | 5e46b1e54112f4b7fd5185665e571510132c12a7 (diff) | |
download | u-boot-imx-6226db68af76bec165bfdfd04ef52d9a54345917.zip u-boot-imx-6226db68af76bec165bfdfd04ef52d9a54345917.tar.gz u-boot-imx-6226db68af76bec165bfdfd04ef52d9a54345917.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
-rw-r--r-- | common/env_onenand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/env_onenand.c b/common/env_onenand.c index 3c65b3e..dbccc79 100644 --- a/common/env_onenand.c +++ b/common/env_onenand.c @@ -97,6 +97,7 @@ int saveenv(void) instr.len = CONFIG_ENV_SIZE; instr.addr = env_addr; + instr.mtd = &onenand_mtd; if (onenand_erase(&onenand_mtd, &instr)) { printf("OneNAND: erase failed at 0x%08lx\n", env_addr); return 1; |