1/*
2 * Copyright (c) 2020-2022, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7#include "region_defs.h"
8/* Enumeration that is used by the assemble.py and imgtool.py scripts
9 * for correct binary generation when nested macros are used
10 */
11enum image_attributes {
12    RE_SECURE_IMAGE_OFFSET       = SECURE_IMAGE_OFFSET,
13    RE_SECURE_IMAGE_MAX_SIZE     = SECURE_IMAGE_MAX_SIZE,
14    RE_NON_SECURE_IMAGE_OFFSET   = NON_SECURE_IMAGE_OFFSET,
15    RE_NON_SECURE_IMAGE_MAX_SIZE = NON_SECURE_IMAGE_MAX_SIZE,
16#ifdef @IMAGE_TYPE@_LOAD_ADDRESS
17    RE_IMAGE_LOAD_ADDRESS        = @IMAGE_TYPE@_LOAD_ADDRESS,
18#endif
19    RE_SIGN_BIN_SIZE = FLASH_AREA_@FLASH_AREA_NUM@_SIZE,
20#ifdef IMAGE_ROM_FIXED
21    RE_IMAGE_ROM_FIXED = @IMAGE_TYPE@_PRIMARY_PARTITION_OFFSET
22#endif
23};
24