mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-30 07:39:24 +00:00

Create a common directory and move the header and assembly files so that the common code can be used by both Renesas R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: Ia9a563a1c3c9f8c6f0d3cb82622deb2e155d7f6c
36 lines
823 B
ArmAsm
36 lines
823 B
ArmAsm
/*
|
|
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
#ifndef RCAR_PLAT_LD_S
|
|
#define RCAR_PLAT_LD_S
|
|
|
|
#include <lib/xlat_tables/xlat_tables_defs.h>
|
|
#include <platform_def.h>
|
|
|
|
MEMORY {
|
|
SRAM (rwx): ORIGIN = BL31_SRAM_BASE, LENGTH = DEVICE_SRAM_SIZE
|
|
PRAM (r): ORIGIN = BL31_LIMIT - DEVICE_SRAM_SIZE, LENGTH = DEVICE_SRAM_SIZE
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
/* SRAM_COPY is in PRAM */
|
|
. = BL31_LIMIT - DEVICE_SRAM_SIZE;
|
|
__SRAM_COPY_START__ = .;
|
|
|
|
.system_ram : {
|
|
/* system ram start is in SRAM */
|
|
__system_ram_start__ = .;
|
|
*(.system_ram*)
|
|
*iic_dvfs.o(.rodata)
|
|
__system_ram_end__ = .;
|
|
} >SRAM AT>PRAM
|
|
|
|
ASSERT(__BL31_END__ <= BL31_LIMIT - DEVICE_SRAM_SIZE,
|
|
"BL31 image too large - writing on top of SRAM!")
|
|
|
|
}
|
|
|
|
#endif /* RCAR_PLAT_LD_S */
|