blob: e021242834a4ca080f4dadf0cb348f52326fec76 [file] [log] [blame]
Mingyang Suneab7eae2021-09-30 13:06:52 +08001/*
2 * Copyright (c) 2021, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8{{utilities.donotedit_warning}}
9
10#ifndef __CONFIG_IMPL_H__
11#define __CONFIG_IMPL_H__
12
13{% if ipc_partition_num > 0 and sfn_partition_num == 0 %}
14#define BACKEND_IPC 1
15{% elif sfn_partition_num > 0 and ipc_partition_num == 0 %}
16#define BACKEND_SFN 1
17
18#if TFM_LVL > 1
19#error "High isolation level SFN model is not supported."
20#endif
21
22{% elif sfn_partition_num > 0 and ipc_partition_num > 0 %}
23#error "IPC and SFN co-work not supported yet."
24{% else %}
25#error "Invalid partition number inputted, check configurations."
26{% endif %}
27
28#endif /* __CONFIG_IMPL_H__ */