summaryrefslogtreecommitdiff
path: root/board/toradex/common/tdx-cfg-block.h
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2020-07-15 13:30:56 +0300
committerStefano Babic <sbabic@denx.de>2020-07-27 14:00:36 +0200
commitdb4ab6d4533e213a21c91fd51b6b451eb80ee86a (patch)
tree1a81e20cc9216cf83c551ba44296379c39bd1387 /board/toradex/common/tdx-cfg-block.h
parent0c6b5588ef4ab908579ef53d930914c64cb762ab (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>
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 e18da3370e..8f91d9aec6 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 */