plat.ld.S 753 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef ROCKCHIP_PLAT_LD_S
  7. #define ROCKCHIP_PLAT_LD_S
  8. MEMORY {
  9. PMUSRAM (rwx): ORIGIN = PMUSRAM_BASE, LENGTH = PMUSRAM_RSIZE
  10. }
  11. SECTIONS
  12. {
  13. . = PMUSRAM_BASE;
  14. /*
  15. * pmu_cpuson_entrypoint request address
  16. * align 64K when resume, so put it in the
  17. * start of pmusram
  18. */
  19. .text_pmusram : {
  20. ASSERT(. == ALIGN(64 * 1024),
  21. ".pmusram.entry request 64K aligned.");
  22. *(.pmusram.entry)
  23. __bl31_pmusram_text_start = .;
  24. *(.pmusram.text)
  25. *(.pmusram.rodata)
  26. __bl31_pmusram_text_end = .;
  27. __bl31_pmusram_data_start = .;
  28. *(.pmusram.data)
  29. __bl31_pmusram_data_end = .;
  30. } >PMUSRAM
  31. }
  32. #endif /* ROCKCHIP_PLAT_LD_S */