Juan Castillo | 9b265a8 | 2015-05-07 14:52:44 +0100 | [diff] [blame] | 1 | /* |
Julius Werner | 2a231e3 | 2019-05-28 21:03:58 -0700 | [diff] [blame] | 2 | * Copyright (c) 2015-2019, ARM Limited and Contributors. All rights reserved. |
Juan Castillo | 9b265a8 | 2015-05-07 14:52:44 +0100 | [diff] [blame] | 3 | * |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
Juan Castillo | 9b265a8 | 2015-05-07 14:52:44 +0100 | [diff] [blame] | 5 | */ |
| 6 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 7 | #ifndef TBBR_IMG_DEF_H |
| 8 | #define TBBR_IMG_DEF_H |
Juan Castillo | 9b265a8 | 2015-05-07 14:52:44 +0100 | [diff] [blame] | 9 | |
Julius Werner | 2a231e3 | 2019-05-28 21:03:58 -0700 | [diff] [blame] | 10 | #include <export/common/tbbr/tbbr_img_def_exp.h> |
Roberto Vargas | be126ed | 2018-02-12 12:36:17 +0000 | [diff] [blame] | 11 | |
Manish Pandey | 5f8e1a0 | 2020-05-27 22:40:10 +0100 | [diff] [blame] | 12 | #if defined(SPD_spmd) |
Manish Pandey | d07d017 | 2020-07-23 16:54:30 +0100 | [diff] [blame] | 13 | #define SIP_SP_CONTENT_CERT_ID MAX_IMAGE_IDS |
Manish Pandey | 6aef2cc | 2020-07-31 16:25:17 +0100 | [diff] [blame] | 14 | #define PLAT_SP_CONTENT_CERT_ID (MAX_IMAGE_IDS + 1) |
| 15 | #define SP_PKG1_ID (MAX_IMAGE_IDS + 2) |
| 16 | #define SP_PKG2_ID (MAX_IMAGE_IDS + 3) |
| 17 | #define SP_PKG3_ID (MAX_IMAGE_IDS + 4) |
| 18 | #define SP_PKG4_ID (MAX_IMAGE_IDS + 5) |
| 19 | #define SP_PKG5_ID (MAX_IMAGE_IDS + 6) |
| 20 | #define SP_PKG6_ID (MAX_IMAGE_IDS + 7) |
| 21 | #define SP_PKG7_ID (MAX_IMAGE_IDS + 8) |
| 22 | #define SP_PKG8_ID (MAX_IMAGE_IDS + 9) |
Manish Pandey | 5f8e1a0 | 2020-05-27 22:40:10 +0100 | [diff] [blame] | 23 | #define MAX_SP_IDS U(8) |
Manish Pandey | 6aef2cc | 2020-07-31 16:25:17 +0100 | [diff] [blame] | 24 | #define MAX_NUMBER_IDS (MAX_IMAGE_IDS + MAX_SP_IDS + U(2)) |
Manish Pandey | 5f8e1a0 | 2020-05-27 22:40:10 +0100 | [diff] [blame] | 25 | #else |
| 26 | #define MAX_NUMBER_IDS MAX_IMAGE_IDS |
| 27 | #endif |
| 28 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 29 | #endif /* TBBR_IMG_DEF_H */ |