Home
last modified time | relevance | path

Searched hist:"9378 f3e6715874416538fecf207e37b58133ea7a" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/drivers/
H A Dimx_ocotp.c9378f3e6715874416538fecf207e37b58133ea7a Thu Jun 23 20:10:22 UTC 2022 Tim Anderson <tim.anderson@foundries.io> imx_ocotp: correct ocotp fuse address computation

Not all the imx platforms have the same bank spacing. In particular
the imx6 and imx7ulp both have bank sizes that are twice as large
as the imx8m.

The ocotp_get_die_id_mx7ulp() function was written with the
old computation, so bank 2, work 6 would be 0x4e0 offset.
Using the new calc, bank 1, word 6 would be 0x4e0 offset.

So all the bank values should move to bank 1.

This will set the correct computation.

Signed-off-by: Tim Anderson <tim.anderson@foundries.io>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Clement Faure <clement.faure@nxp.com>