summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/libpayload/include/libpayload.h2
-rw-r--r--src/include/device/mmio.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index bfe9da5f40..0bd5db8257 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -458,7 +458,7 @@ void buffer_to_fifo32_prefix(void *buffer, u32 prefix, int prefsz, size_t size,
static inline void buffer_to_fifo32(void *buffer, size_t size, void *fifo,
int fifo_stride, int fifo_width)
{
- buffer_to_fifo32_prefix(buffer, size, 0, 0, fifo,
+ buffer_to_fifo32_prefix(buffer, 0, 0, size, fifo,
fifo_stride, fifo_width);
}
#endif
diff --git a/src/include/device/mmio.h b/src/include/device/mmio.h
index df36eb6f96..6596cf89ed 100644
--- a/src/include/device/mmio.h
+++ b/src/include/device/mmio.h
@@ -48,7 +48,7 @@ void buffer_to_fifo32_prefix(void *buffer, u32 prefix, int prefsz, size_t size,
static inline void buffer_to_fifo32(void *buffer, size_t size, void *fifo,
int fifo_stride, int fifo_width)
{
- buffer_to_fifo32_prefix(buffer, size, 0, 0, fifo,
+ buffer_to_fifo32_prefix(buffer, 0, 0, size, fifo,
fifo_stride, fifo_width);
}