plat.ld.rodata.inc 740 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2022, MediaTek Inc. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef PLAT_LD_RODATA_INC
  7. #define PLAT_LD_RODATA_INC
  8. #include <lib/mtk_init/mtk_init.h>
  9. . = ALIGN(32);
  10. INIT_CALL_TABLE(EXPAND_AS_LINK_SECTION);
  11. __MTK_PLAT_INITCALL_END__ = .;
  12. . = ALIGN(32);
  13. __MTK_MMAP_POINTER_POOL_START__ = .;
  14. KEEP(*(.mtk_mmap_pool))
  15. __MTK_MMAP_POINTER_POOL_END_UNALIGNED__ = .;
  16. . = ALIGN(8);
  17. __MTK_MMAP_POOL_START__ = .;
  18. KEEP(*(.mtk_mmap_lists))
  19. __MTK_MMAP_POOL_END_UNALIGNED__ = .;
  20. . = ALIGN(32);
  21. __MTK_SMC_POOL_START__ = .;
  22. KEEP(*(.mtk_smc_descriptor_pool))
  23. __MTK_SMC_POOL_END_UNALIGNED__ = .;
  24. . = ALIGN(8);
  25. #include <vendor_pubsub_events.h>
  26. *(.mtk_plat_ro)
  27. #endif /* PLAT_LD_RODATA_INC */