blob: 1b7f69989ebe1d1344f50a7fae2bb488fa8fcdd0 [file] [log] [blame]
Ard Biesheuvelc0415c62018-12-29 19:44:35 +01001/*
2 * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef SYNQUACER_PLAT_LD_S__
8#define SYNQUACER_PLAT_LD_S__
9
10#include <xlat_tables_defs.h>
11
12#define SPM_SHIM_EXCEPTIONS_VMA SP_DRAM
13
14MEMORY {
15 SP_DRAM (rw): ORIGIN = PLAT_SQ_SP_PRIV_BASE, LENGTH = PLAT_SQ_SP_PRIV_SIZE
16}
17
18SECTIONS
19{
20 /*
21 * Put the page tables in secure DRAM so that the PTW can make cacheable
22 * accesses, as the core SPM code expects. (The SRAM on SynQuacer does
23 * not support inner shareable WBWA mappings so it is mapped normal
24 * non-cacheable)
25 */
26 sp_xlat_table (NOLOAD) : ALIGN(PAGE_SIZE) {
27 *(sp_xlat_table)
28 *(.bss.sp_base_xlat_table)
29 } >SP_DRAM
30}
31
32#endif /* SYNQUACER_PLAT_LD_S__ */