#!/usr/bin/env python # SPDX-License-Identifier: BSD-2-Clause # # Copyright (c) 2016, Linaro Limited import struct def main(): with open("../out/arm/core/tee.bin", "rb") as f: data = f.read(4) magic = struct.unpack('