1/*
2 * Copyright 2023 NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifdef CONFIG_XIP
8
9.ivt_header : {
10	KEEP(*(.ivt_header));
11} > IVT_HEADER
12
13#else
14
15#define _NORMAL_OUTER_INNER_WRITE_THROUGH_NON_SHAREABLE (1 << 17)
16#define _RO_Msk (7 << 24)
17
18/* ROM region size order for MPU configuration */
19_rom_region_order = ((LOG2CEIL(__rom_region_end - __rom_region_start) - 1) << 1);
20_rom_attr = (_NORMAL_OUTER_INNER_WRITE_THROUGH_NON_SHAREABLE | _rom_region_order | _RO_Msk);
21
22#endif
23