summaryrefslogtreecommitdiff
path: root/board/toradex/common/tdx-cfg-block.h
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2020-06-22 23:27:57 +0300
committerDenys Drozdov <denys.drozdov@toradex.com>2021-01-08 19:42:06 +0200
commit48b1333623f47222aca6e62aa6d4efaa7ca8a335 (patch)
treec129970657e5fbf2da2e598ffcd1471a17b71dbb /board/toradex/common/tdx-cfg-block.h
parenteb583df9867b0b18a43c9767b0c3de21b0532062 (diff)
toradex: tdx-cfg-clock: add migration routine from PID8
Add migration routine from PID8 pre-stored values on EEPROM (including sane value checks). Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> (cherry picked from commit 1da2138819aa573b3d53f06bede90ccd6509bb82)
Diffstat (limited to 'board/toradex/common/tdx-cfg-block.h')
-rw-r--r--board/toradex/common/tdx-cfg-block.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/toradex/common/tdx-cfg-block.h b/board/toradex/common/tdx-cfg-block.h
index c7bc021be9..c39e7b8971 100644
--- a/board/toradex/common/tdx-cfg-block.h
+++ b/board/toradex/common/tdx-cfg-block.h
@@ -102,4 +102,6 @@ extern u32 tdx_car_serial;
int read_tdx_cfg_block(void);
int read_tdx_cfg_block_carrier(void);
+int try_migrate_tdx_cfg_block_carrier(void);
+
#endif /* _TDX_CFG_BLOCK_H */