eks: Add compatibility support for v1.1

This commit is contained in:
CTCaer 2021-01-05 15:37:36 +02:00
parent 7b460f7e56
commit f196b8bb0e
2 changed files with 2 additions and 2 deletions

View file

@ -208,7 +208,7 @@ void hos_eks_get()
// Check if valid and for this unit.
if (eks->magic == HOS_EKS_MAGIC &&
eks->lot0 == FUSE(FUSE_OPT_LOT_CODE_0))
(eks->lot0 == FUSE(FUSE_OPT_LOT_CODE_0) || eks->lot0 == FUSE(FUSE_PRIVATE_KEY0)))
{
h_cfg.eks = eks;
return;

View file

@ -180,7 +180,7 @@ void hos_eks_get()
// Check if valid and for this unit.
if (eks->magic == HOS_EKS_MAGIC &&
eks->lot0 == FUSE(FUSE_OPT_LOT_CODE_0))
(eks->lot0 == FUSE(FUSE_OPT_LOT_CODE_0) || eks->lot0 == FUSE(FUSE_PRIVATE_KEY0)))
{
h_cfg.eks = eks;
return;