aboutsummaryrefslogtreecommitdiff
path: root/cmd/ubifs.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-06-06 09:47:17 -0400
committerTom Rini <trini@konsulko.com>2023-06-06 09:47:17 -0400
commitfadf83c86d7252df2b50ba526ffeea95658cb5b5 (patch)
treec86f5d29ab2ddad0886ec1f16b1486f774c30aff /cmd/ubifs.c
parentd39277ff4210a1a3e07d40564a19c2e59cec04aa (diff)
parentb46cec41664f35c689385c70c76d274a059c7251 (diff)
Merge tag 'ubifixes-for-v2023-07-rc4' of https://source.denx.de/u-boot/custodians/u-boot-ubi
ubifs changes for v2023.07-rc4 UBIFS fixes from Ben Dooks - ubifs: allow loading to above 4GiB
Diffstat (limited to 'cmd/ubifs.c')
-rw-r--r--cmd/ubifs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/ubifs.c b/cmd/ubifs.c
index 6a01d0988a..2a035bc7ae 100644
--- a/cmd/ubifs.c
+++ b/cmd/ubifs.c
@@ -111,7 +111,7 @@ static int do_ubifs_load(struct cmd_tbl *cmdtp, int flag, int argc,
char *filename;
char *endp;
int ret;
- u32 addr;
+ unsigned long addr;
u32 size = 0;
if (!ubifs_mounted) {
@@ -133,7 +133,7 @@ static int do_ubifs_load(struct cmd_tbl *cmdtp, int flag, int argc,
if (endp == argv[3])
return CMD_RET_USAGE;
}
- debug("Loading file '%s' to address 0x%08x (size %d)\n", filename, addr, size);
+ debug("Loading file '%s' to address 0x%08lx (size %d)\n", filename, addr, size);
ret = ubifs_load(filename, addr, size);
if (ret) {