blob: bd125e672f76547c1ece30c7888c924a844d6e5e [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 Pandey6aef2cc2020-07-31 16:25:17 +010014#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 Pandey5f8e1a02020-05-27 22:40:10 +010023#define MAX_SP_IDS U(8)
Manish Pandey6aef2cc2020-07-31 16:25:17 +010024#define MAX_NUMBER_IDS (MAX_IMAGE_IDS + MAX_SP_IDS + U(2))
Manish Pandey5f8e1a02020-05-27 22:40:10 +010025#else
26#define MAX_NUMBER_IDS MAX_IMAGE_IDS
27#endif
28
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000029#endif /* TBBR_IMG_DEF_H */