Skip to content
Commit 7dd003ae authored by Peng Fan's avatar Peng Fan Committed by Jens Wiklander
Browse files

tee: correct max value for id allocation



The privileged dev id range is [TEE_NUM_DEVICES / 2, TEE_NUM_DEVICES).
The non-privileged dev id range is [0, TEE_NUM_DEVICES / 2).

So when finding a slot for them, need to use different max value.

Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
parent 661e50bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment