mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 18:14:24 +00:00

rk3588 is an Octa-core soc with Cortex-a55/a76 inside. This patch supports the following functions: 1. basic platform setup 2. power up/off cpus 3. suspend/resume cpus 4. suspend/resume system 5. reset system 6. power off system Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com> Change-Id: I598109f15a2efd5b33aedd176cf708c08cb1dcf4
42 lines
904 B
ArmAsm
42 lines
904 B
ArmAsm
/*
|
|
* Copyright (c) 2024, Rockchip, Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef ROCKCHIP_PLAT_LD_S
|
|
#define ROCKCHIP_PLAT_LD_S
|
|
|
|
MEMORY {
|
|
PMUSRAM (rwx): ORIGIN = PMUSRAM_BASE, LENGTH = PMUSRAM_RSIZE
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
. = PMUSRAM_BASE;
|
|
|
|
/*
|
|
* pmu_cpuson_entrypoint request address
|
|
* align 64K when resume, so put it in the
|
|
* start of pmusram
|
|
*/
|
|
.text_pmusram : {
|
|
ASSERT(. == ALIGN(64 * 1024),
|
|
".pmusram.entry request 64K aligned.");
|
|
KEEP(*(.pmusram.entry))
|
|
__bl31_pmusram_text_start = .;
|
|
*(.pmusram.text)
|
|
*(.pmusram.rodata)
|
|
. = ALIGN(PAGE_SIZE);
|
|
__bl31_pmusram_text_end = .;
|
|
__bl31_pmusram_data_start = .;
|
|
*(.pmusram.data)
|
|
. = ALIGN(PAGE_SIZE);
|
|
__bl31_pmusram_data_end = .;
|
|
|
|
ASSERT(__bl31_pmusram_data_end <= PMUSRAM_BASE + PMUSRAM_RSIZE,
|
|
".pmusram has exceeded its limit.");
|
|
} >PMUSRAM
|
|
}
|
|
|
|
#endif /* ROCKCHIP_PLAT_LD_S */
|