1 /*
2  * Copyright (c) 2022, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #ifndef __RSE_COMMS_ATU_HAL_H__
9 #define __RSE_COMMS_ATU_HAL_H__
10 
11 #ifndef RSE_XIP
12 #define RSE_COMMS_ATU_REGION_MIN        0
13 #else
14 #define RSE_COMMS_ATU_REGION_MIN        2
15 #endif /* !RSE_XIP */
16 
17 #define RSE_COMMS_ATU_REGION_MAX        15
18 /* There must be at least one region */
19 #define RSE_COMMS_ATU_REGION_AM         (RSE_COMMS_ATU_REGION_MAX - \
20                                          RSE_COMMS_ATU_REGION_MIN + 1)
21 #define RSE_COMMS_ATU_PAGE_SIZE         0x2000
22 #define RSE_COMMS_ATU_REGION_SIZE       (RSE_COMMS_ATU_PAGE_SIZE * 8)
23 
24 #endif /* __RSE_COMMS_HAL_H__ */
25