diff options
author | Simon Glass <sjg@chromium.org> | 2023-12-14 21:19:04 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-04-10 17:04:25 -0600 |
commit | 637425bab338c1aa7b83f68068dbf5ad398d53af (patch) | |
tree | 492711f11ef748ec8abb31937ea72c932cbd7dc9 /cmd | |
parent | 6d47fd39fc53c4baaeed8b9b0d3ad6c0bf07f80f (diff) | |
download | u-boot-637425bab338c1aa7b83f68068dbf5ad398d53af.zip u-boot-637425bab338c1aa7b83f68068dbf5ad398d53af.tar.gz u-boot-637425bab338c1aa7b83f68068dbf5ad398d53af.tar.bz2 |
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 <sjg@chromium.org>
Reviewed-by: Dmitrii Merkurev <dimorinny@google.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> # on vim3
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/fastboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fastboot.c b/cmd/fastboot.c index c3c1923..792e83d 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); |