blob: 67a2cf093c999e08d41c9a92476a40511dd8ddb6 [file] [log] [blame]
Antonio Nino Diaza830a4d2018-11-27 14:58:04 +00001/*
2 * Copyright (c) 2018, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef SPTOOL_H
8#define SPTOOL_H
9
10#include <stdint.h>
11
12/* Header for a secure partition package. There is one per package. */
13struct sp_pkg_header {
14 uint64_t version;
15 uint64_t number_of_sp;
16};
17
18/*
19 * Entry descriptor in a secure partition package. Each entry comprises a
20 * secure partition and its resource description.
21 */
22struct sp_pkg_entry {
23 uint64_t sp_offset;
24 uint64_t sp_size;
25 uint64_t rd_offset;
26 uint64_t rd_size;
27};
28
29#endif /* SPTOOL_H */