1;/*
2; * Copyright 2020 NXP
3; *
4; * All rights reserved.
5; *
6; * SPDX-License-Identifier: BSD-3-Clause
7; */
8
9#if defined(__CC_ARM)
10
11        AREA core1_code, DATA, READONLY, PREINIT_ARRAY, ALIGN=3
12        EXPORT core1_image_start
13        EXPORT core1_image_end
14core1_image_start
15        INCBIN core1_image.bin
16core1_image_end
17        END
18
19#elif defined(__GNUC__) || defined(__ARMCC_VERSION)
20
21        .section .core1_code, "ax" @progbits @preinit_array
22        .global core1_image_start
23        .type core1_image_start, %object
24        .align 4
25core1_image_start:
26        .incbin "core1_image.bin"
27        .global core1_image_end
28        .type core1_image_end, %object
29core1_image_end:
30        .global core1_image_size
31        .type core1_image_size, %object
32        .align 4
33core1_image_size:
34        .int  core1_image_end - core1_image_start
35        .end
36
37#endif
38