summaryrefslogtreecommitdiffstats
path: root/libs/NVRam/nvm.c
diff options
context:
space:
mode:
authorLojewski, Evan <github@meklort.com>2019-05-11 17:23:30 -0600
committerLojewski, Evan <github@meklort.com>2019-05-11 17:23:30 -0600
commit447079c15d52cce3a97bbd223194121f7ed609ef (patch)
tree803cb85413fdc30ede7a745ca9fd5b27a4e9dad3 /libs/NVRam/nvm.c
parent6bc3777393e58e3aec54c03fb188398437cd9d9f (diff)
downloadbcm5719-ortega-447079c15d52cce3a97bbd223194121f7ed609ef.tar.gz
bcm5719-ortega-447079c15d52cce3a97bbd223194121f7ed609ef.zip
Reduce includes for NVRAM library.
Diffstat (limited to 'libs/NVRam/nvm.c')
-rw-r--r--libs/NVRam/nvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/NVRam/nvm.c b/libs/NVRam/nvm.c
index bf494f6..33344ed 100644
--- a/libs/NVRam/nvm.c
+++ b/libs/NVRam/nvm.c
@@ -188,7 +188,7 @@ uint32_t NVRam_readWord(uint32_t address)
return NVRam_readWordInternal(address, cmd);
}
-void NVRam_read(uint32_t address, uint32_t *buffer, size_t words)
+void NVRam_read(uint32_t address, uint32_t *buffer, uint32_t words)
{
if (!words)
{
@@ -237,7 +237,7 @@ void NVRam_writeWord(uint32_t address, uint32_t data)
}
}
-void NVRam_write(uint32_t address, uint32_t *buffer, size_t words)
+void NVRam_write(uint32_t address, uint32_t *buffer, uint32_t words)
{
#if 0
if (!words)
OpenPOWER on IntegriCloud