summaryrefslogtreecommitdiffstats
path: root/stage1/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stage1/main.c')
-rw-r--r--stage1/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stage1/main.c b/stage1/main.c
index 64cb01e..51a1f51 100644
--- a/stage1/main.c
+++ b/stage1/main.c
@@ -46,12 +46,12 @@
#include <NVRam.h>
-NVRAMContents gNVMContents;
+NVRAMContents_t gNVMContents;
int main()
{
// Read in the NVM header.
- NVRam_read(0, (uint32_t *)&gNVMContents, sizeof(NVRAMContents) / 4);
+ NVRam_read(0, (uint32_t *)&gNVMContents, sizeof(NVRAMContents_t) / 4);
// Initialize the hardware.
init_hw(&gNVMContents);
OpenPOWER on IntegriCloud