projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
2588f2d
)
Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
author
Tom Rini
<trini@konsulko.com>
Thu, 19 Nov 2015 14:06:44 +0000
(09:06 -0500)
committer
Tom Rini
<trini@konsulko.com>
Thu, 19 Nov 2015 14:06:44 +0000
(09:06 -0500)
common/env_ubi.c
patch
|
blob
|
history
diff --git
a/common/env_ubi.c
b/common/env_ubi.c
index e0dc5af8513e60d680080593a2a2fa91797964f0..e611199a58d6d30a69e72dc5c95fa39e9577dff8 100644
(file)
--- a/
common/env_ubi.c
+++ b/
common/env_ubi.c
@@
-181,8
+181,7
@@
void env_relocate_spec(void)
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);