aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/nvm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/nvm.h')
-rw-r--r--src/soc/intel/common/nvm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/common/nvm.h b/src/soc/intel/common/nvm.h
index feae5c3823..074a2ce406 100644
--- a/src/soc/intel/common/nvm.h
+++ b/src/soc/intel/common/nvm.h
@@ -33,4 +33,7 @@ int nvm_is_write_protected(void);
/* Apply protection to a range of flash */
int nvm_protect(void *start, size_t size);
+/* Map MMIO address to actual address in flash */
+uint32_t nvm_mmio_to_flash_offset(void *p);
+
#endif /* _COMMON_NVM_H_ */