aboutsummaryrefslogtreecommitdiff
path: root/include/fastboot-internal.h
diff options
context:
space:
mode:
authorSimon Glass2023-12-14 21:19:04 -0700
committerTom Rini2024-04-10 17:04:25 -0600
commit637425bab338c1aa7b83f68068dbf5ad398d53af (patch)
tree492711f11ef748ec8abb31937ea72c932cbd7dc9 /include/fastboot-internal.h
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 <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 'include/fastboot-internal.h')
-rw-r--r--include/fastboot-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fastboot-internal.h b/include/fastboot-internal.h
index bf2f2b3c891..d3e1c106e23 100644
--- a/include/fastboot-internal.h
+++ b/include/fastboot-internal.h
@@ -6,7 +6,7 @@
/**
* fastboot_buf_addr - base address of the fastboot download buffer
*/
-extern void *fastboot_buf_addr;
+extern ulong fastboot_buf_addr;
/**
* fastboot_buf_size - size of the fastboot download buffer