You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
457 B
26 lines
457 B
/*
|
|
* Copyright (c) 2018-2020, Arm Limited. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef SPTOOL_H
|
|
#define SPTOOL_H
|
|
|
|
#include <stdint.h>
|
|
|
|
/* 4 Byte magic name "SPKG" */
|
|
#define SECURE_PARTITION_MAGIC 0x474B5053
|
|
|
|
/* Header for a secure partition package. */
|
|
struct sp_pkg_header {
|
|
uint32_t magic;
|
|
uint32_t version;
|
|
uint32_t pm_offset;
|
|
uint32_t pm_size;
|
|
uint32_t img_offset;
|
|
uint32_t img_size;
|
|
};
|
|
|
|
#endif /* SPTOOL_H */
|