mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
Merge git://git.denx.de/u-boot-ubi
This commit is contained in:
commit
24796d27be
1 changed files with 1 additions and 1 deletions
|
@ -939,7 +939,7 @@ int ubifs_load(char *filename, u32 addr, u32 size)
|
|||
|
||||
printf("Loading file '%s' to addr 0x%08x...\n", filename, addr);
|
||||
|
||||
err = ubifs_read(filename, (void *)addr, 0, size, &actread);
|
||||
err = ubifs_read(filename, (void *)(uintptr_t)addr, 0, size, &actread);
|
||||
if (err == 0) {
|
||||
setenv_hex("filesize", actread);
|
||||
printf("Done\n");
|
||||
|
|
Loading…
Add table
Reference in a new issue