blob: e7664726139fcafa6d8c563c2ee6566a74e7dbfd [file] [log] [blame]
developer6d8e8f82022-06-20 10:25:35 +08001/*
2 * Copyright (c) 2022, MediaTek Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef PLAT_LD_RODATA_INC
8#define PLAT_LD_RODATA_INC
9
10#include <lib/mtk_init/mtk_init.h>
11 . = ALIGN(32);
12 INIT_CALL_TABLE(EXPAND_AS_LINK_SECTION);
13 __MTK_PLAT_INITCALL_END__ = .;
14 . = ALIGN(32);
15 __MTK_MMAP_POINTER_POOL_START__ = .;
16 KEEP(*(.mtk_mmap_pool))
17 __MTK_MMAP_POINTER_POOL_END_UNALIGNED__ = .;
18 . = ALIGN(8);
19 __MTK_MMAP_POOL_START__ = .;
20 KEEP(*(.mtk_mmap_lists))
21 __MTK_MMAP_POOL_END_UNALIGNED__ = .;
22 . = ALIGN(32);
23 __MTK_SMC_POOL_START__ = .;
24 KEEP(*(.mtk_smc_descriptor_pool))
25 __MTK_SMC_POOL_END_UNALIGNED__ = .;
26 . = ALIGN(8);
27#include <vendor_pubsub_events.h>
Chris Kay33bfc5e2023-02-14 11:30:04 +000028 *(.mtk_plat_ro)
developer6d8e8f82022-06-20 10:25:35 +080029
30#endif /* PLAT_LD_RODATA_INC */