summaryrefslogtreecommitdiff
path: root/include/common/fwu_nvm.h
diff options
context:
space:
mode:
authorJonathan Wright <jonathan.wright@arm.com>2018-02-28 17:33:21 +0000
committerJonathan Wright <jonathan.wright@arm.com>2018-03-01 10:45:46 +0000
commitf74cf29eac110e776c01f3098318fc18a97e4599 (patch)
tree93e0b2d9a1381b39c42adf3f8c69c5c52a03eeb3 /include/common/fwu_nvm.h
parent458dc17aa5485e90ede863a753c0bef2edb5dba7 (diff)
Remove type UINTN from the codebase
The UINTN type was meant to represent a 'native' integer, i.e. a 32-bit integer on 32-bit platforms and a 64-bit integer on 64-bit platforms. The type has been removed because it was used inconsistently across the codebase. Change-Id: Id45afde5c110ae807ce8fbbaa1cc48cff61ff76d
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