diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2016-08-17 15:32:50 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-08-30 16:59:47 +1000 |
commit | e9833175edd7a5a63841bd6c7e8e63c50604e480 (patch) | |
tree | bc40245cd7379a68c5b63d0abf22344f436b1cbd /include/nvram.h | |
parent | 6024e93adf62fab2fb725e9e98fd853b57a35bc4 (diff) | |
download | skiboot-e9833175edd7a5a63841bd6c7e8e63c50604e480.zip skiboot-e9833175edd7a5a63841bd6c7e8e63c50604e480.tar.gz skiboot-e9833175edd7a5a63841bd6c7e8e63c50604e480.tar.bz2 |
core/init: recheck nvram on fast reboot
If the previously running OS modifies the NVRAM it may be left in an
invalid state. To prevent errors we need to re-validate the nvram format
in the fast-reboot path.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/nvram.h')
-rw-r--r-- | include/nvram.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/nvram.h b/include/nvram.h index ce33d2f..c90c571 100644 --- a/include/nvram.h +++ b/include/nvram.h @@ -19,5 +19,6 @@ int nvram_format(void *nvram_image, uint32_t nvram_size); int nvram_check(void *nvram_image, uint32_t nvram_size); +void nvram_reinit(void); #endif /* __NVRAM_H */ |