summaryrefslogtreecommitdiff
path: root/include/common/fwu_nvm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common/fwu_nvm.h')
-rw-r--r--include/common/fwu_nvm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/common/fwu_nvm.h b/include/common/fwu_nvm.h
index fd6a746..fd77565 100644
--- a/include/common/fwu_nvm.h
+++ b/include/common/fwu_nvm.h
@@ -49,13 +49,13 @@
* size
* Returns: STATUS_FAIL, STATUS_SUCCESS, STATUS_OUT_OF_RESOURCES
*/
-STATUS fwu_nvm_write(UINTN offset, const void *buffer, UINTN size);
+STATUS fwu_nvm_write(unsigned long long offset, const void *buffer, size_t size);
/* Reads the flash into buffer at offset with length equal to
* size
* Returns: STATUS_FAIL, STATUS_SUCCESS, STATUS_OUT_OF_RESOURCES
*/
-STATUS fwu_nvm_read(UINTN offset, void *buffer, UINTN size);
+STATUS fwu_nvm_read(unsigned long long offset, void *buffer, size_t size);
/*
* This function is used to replace the original fip.bin