diff options
author | Evan Lojewski <github@meklort.com> | 2019-02-11 19:12:01 -0700 |
---|---|---|
committer | Evan Lojewski <github@meklort.com> | 2019-02-11 19:12:01 -0700 |
commit | 9e583fbabd9a42d4c54239ecd0c974c4062cd00a (patch) | |
tree | c7153a956bbea4658d3b44922a853e71b67d30c7 /stage1/main.c | |
parent | 83f298bd427751e4fe9a006de673e875c2e46ade (diff) | |
download | bcm5719-ortega-9e583fbabd9a42d4c54239ecd0c974c4062cd00a.tar.gz bcm5719-ortega-9e583fbabd9a42d4c54239ecd0c974c4062cd00a.zip |
Update nvrma format to more closely match ortega spec.
Diffstat (limited to 'stage1/main.c')
-rw-r--r-- | stage1/main.c | 4 |
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); |