summaryrefslogtreecommitdiffstats
path: root/libs/NVRam/include/NVRam.h
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2019-02-09 18:09:33 -0700
committerEvan Lojewski <github@meklort.com>2019-02-09 18:09:33 -0700
commit3cfa5c59e6a69106fefdbd35f39ab1179a49959f (patch)
tree12937af676b44775c03b95c56b637aebc06fa36a /libs/NVRam/include/NVRam.h
parentc9ff2c0b1ca53e3c4a199da7e4804499c88bdbae (diff)
downloadbcm5719-ortega-3cfa5c59e6a69106fefdbd35f39ab1179a49959f.tar.gz
bcm5719-ortega-3cfa5c59e6a69106fefdbd35f39ab1179a49959f.zip
Do a manual clang-format run
Diffstat (limited to 'libs/NVRam/include/NVRam.h')
-rw-r--r--libs/NVRam/include/NVRam.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/libs/NVRam/include/NVRam.h b/libs/NVRam/include/NVRam.h
index 5f2fcfb..3d995ff 100644
--- a/libs/NVRam/include/NVRam.h
+++ b/libs/NVRam/include/NVRam.h
@@ -2,7 +2,7 @@
///
/// @file NVRam.h
///
-/// @project
+/// @project
///
/// @brief NVRam Support Routines
///
@@ -44,25 +44,24 @@
#ifndef NVRAM_H
#define NVRAM_H
-#include <stdint.h>
-#include <stddef.h>
#include <stdbool.h>
+#include <stddef.h>
+#include <stdint.h>
bool NVRam_acquireLock(void);
bool NVRam_releaseLock(void);
uint32_t NVRam_readWord(uint32_t address);
-void NVRam_read(uint32_t address, uint32_t* buffer, size_t words);
+void NVRam_read(uint32_t address, uint32_t *buffer, size_t words);
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, size_t words);
void NVRam_enable(void);
void NVRam_disable(void);
-uint32_t NVRam_crc(
- uint8_t *pcDatabuf, // Pointer to data buffer
- uint32_t ulDatalen, // Length of data buffer in bytes
- uint32_t crc); // Initial value
+uint32_t NVRam_crc(uint8_t *pcDatabuf, // Pointer to data buffer
+ uint32_t ulDatalen, // Length of data buffer in bytes
+ uint32_t crc); // Initial value
#endif /* NVRAM_H */
OpenPOWER on IntegriCloud