Home
last modified time | relevance | path

Searched hist:b683df7939e590fd22123eeb6704d900de8fb2c2 (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/drivers/
H A Dimx_ocotp.cb683df7939e590fd22123eeb6704d900de8fb2c2 Wed Mar 23 18:09:52 UTC 2022 Clement Faure <clement.faure@nxp.com> drivers: imx_ocotp: initialize OCOTP driver earlier

Initialize the OCOTP driver earlier with service_init() instead of
driver_init().

With CFG_CORE_HUK_SUBKEY_COMPAT=y, tee_fs_init_key_manager() and
consequently tee_otp_get_die_id() get executed earlier than the
OCOTP driver initialization. tee_fs_init_key_manager() is called by
service_init_late() routine.

On platforms featuring the OCOTP driver, the function
tee_otp_get_die_id() relies on the driver to be initialized.

Signed-off-by: Clement Faure <clement.faure@nxp.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>