#!/usr/bin/env python3 # # Copyright (C) 2021 Amlogic, Inc. All rights reserved. # # This source code is subject to the terms and conditions defined in the # file 'LICENSE' which is part of this source code package. import sys SOC = 's4' EFUSE_TOTAL_SIZE = '0x400' DGPK1_OFFSET = '0x340' DGPK1_LOCK_OFFSET = '0x1D6' DGPK1_LOCK_BIT = '0x4' DGPK2_OFFSET = '0x350' DGPK2_LOCK_OFFSET = '0x1D6' DGPK2_LOCK_BIT = '0x5' PFID_OFFSET = '0xA0' PFID_LOCK_OFFSET = '0x1DA' PFID_LOCK_BIT = '0x4' KEY_TOOL_PATH = sys.path[0] + '/vendor-keytool'