summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-12-14 21:19:04 -0700
committerTom Rini <[email protected]>2024-04-10 17:04:25 -0600
commit637425bab338c1aa7b83f68068dbf5ad398d53af (patch)
tree492711f11ef748ec8abb31937ea72c932cbd7dc9 /cmd
parent6d47fd39fc53c4baaeed8b9b0d3ad6c0bf07f80f (diff)
fastboot: Change fastboot_buf_addr to an address
Given the name of this variable, it should be an address, not a pointer. Update this, to make it easier to use with sandbox. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Dmitrii Merkurev <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Tested-by: Mattijs Korpershoek <[email protected]> # on vim3
Diffstat (limited to 'cmd')
-rw-r--r--cmd/fastboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fastboot.c b/cmd/fastboot.c
index c3c19231c98..792e83d372c 100644
--- a/cmd/fastboot.c
+++ b/cmd/fastboot.c
@@ -159,7 +159,7 @@ NXTARG:
return CMD_RET_USAGE;
}
- fastboot_init((void *)buf_addr, buf_size);
+ fastboot_init(buf_addr, buf_size);
if (!strcmp(argv[1], "udp"))
return do_fastboot_udp(argc, argv, buf_addr, buf_size);