Skip to content
Snippets Groups Projects
Commit 436baaa2 authored by Peng Fan's avatar Peng Fan Committed by Stefano Babic
Browse files

arm: imx-common: introduce back usec2ticks


This commit "2bb01482"
do some clean up to use the code in lib/time.c.
But usec2ticks is still being used by security related job ring code.
Bring back the function to avoid build break when CONFIG_FSL_CAAM
is defined.
The computation logic has been changed, using 64-bit variable
to ease the process, making it work on older (MX5) platforms.

Signed-off-by: default avatarPeng Fan <van.freenix@gmail.com>
Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: default avatarGary Bisson <gary.bisson@boundarydevices.com>
parent 6e1f4d26
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment