提交 24796d27 编写于 作者: T Tom Rini
...@@ -939,7 +939,7 @@ int ubifs_load(char *filename, u32 addr, u32 size) ...@@ -939,7 +939,7 @@ int ubifs_load(char *filename, u32 addr, u32 size)
printf("Loading file '%s' to addr 0x%08x...\n", filename, addr); 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) { if (err == 0) {
setenv_hex("filesize", actread); setenv_hex("filesize", actread);
printf("Done\n"); printf("Done\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册