commit | 4c60850792e003bcafd16c324237a19307763829 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Thu Nov 19 09:06:44 2015 -0500 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 19 09:06:44 2015 -0500 |
tree | d1e10e279d5505e71fa9e263eb80e0a23c5bfc1b | |
parent | a7c06cd3a6c2c889bd115f43f3de0c9fcc066f96 [diff] | |
parent | 2588f2ddfd60ac617c05def14e9a92fd329721fe [diff] |
Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
diff --git a/common/env_ubi.c b/common/env_ubi.c index e0dc5af..e611199 100644 --- a/common/env_ubi.c +++ b/common/env_ubi.c
@@ -181,8 +181,7 @@ return; } - if (ubi_volume_read(CONFIG_ENV_UBI_VOLUME, (void *)&buf, - CONFIG_ENV_SIZE)) { + if (ubi_volume_read(CONFIG_ENV_UBI_VOLUME, buf, CONFIG_ENV_SIZE)) { printf("\n** Unable to read env from %s:%s **\n", CONFIG_ENV_UBI_PART, CONFIG_ENV_UBI_VOLUME); set_default_env(NULL);