blob: b29b1354cd3f21b9c65d03f5b74a01bde8fa6308 [file] [log] [blame]
Juan Castillo9b265a82015-05-07 14:52:44 +01001/*
Julius Werner2a231e32019-05-28 21:03:58 -07002 * Copyright (c) 2015-2019, ARM Limited and Contributors. All rights reserved.
Juan Castillo9b265a82015-05-07 14:52:44 +01003 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Juan Castillo9b265a82015-05-07 14:52:44 +01005 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef TBBR_IMG_DEF_H
8#define TBBR_IMG_DEF_H
Juan Castillo9b265a82015-05-07 14:52:44 +01009
Julius Werner2a231e32019-05-28 21:03:58 -070010#include <export/common/tbbr/tbbr_img_def_exp.h>
Roberto Vargasbe126ed2018-02-12 12:36:17 +000011
Manish Pandey5f8e1a02020-05-27 22:40:10 +010012#if defined(SPD_spmd)
Manish Pandeyd07d0172020-07-23 16:54:30 +010013#define SIP_SP_CONTENT_CERT_ID MAX_IMAGE_IDS
Manish V Badarkhe26880932020-06-29 11:12:12 +010014#define SP_PKG1_ID (MAX_IMAGE_IDS + 1)
15#define SP_PKG2_ID (MAX_IMAGE_IDS + 2)
16#define SP_PKG3_ID (MAX_IMAGE_IDS + 3)
17#define SP_PKG4_ID (MAX_IMAGE_IDS + 4)
18#define SP_PKG5_ID (MAX_IMAGE_IDS + 5)
19#define SP_PKG6_ID (MAX_IMAGE_IDS + 6)
20#define SP_PKG7_ID (MAX_IMAGE_IDS + 7)
21#define SP_PKG8_ID (MAX_IMAGE_IDS + 8)
Manish Pandey5f8e1a02020-05-27 22:40:10 +010022#define MAX_SP_IDS U(8)
23#define MAX_NUMBER_IDS (MAX_IMAGE_IDS + MAX_SP_IDS + U(1))
24#else
25#define MAX_NUMBER_IDS MAX_IMAGE_IDS
26#endif
27
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000028#endif /* TBBR_IMG_DEF_H */