developer | 6d8e8f8 | 2022-06-20 10:25:35 +0800 | [diff] [blame] | 1 | /* |
| 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 Kay | 33bfc5e | 2023-02-14 11:30:04 +0000 | [diff] [blame] | 28 | *(.mtk_plat_ro) |
developer | 6d8e8f8 | 2022-06-20 10:25:35 +0800 | [diff] [blame] | 29 | |
| 30 | #endif /* PLAT_LD_RODATA_INC */ |