blob: 14da4cd62045ff9793fec125e5aff90ba2fc74f0 [file] [log] [blame]
Chandni Cherukuri86244742018-11-13 16:16:54 +05301/*
2 * Copyright (c) 2018, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <platform.h>
8
9#define SGI_DRAM1_NS_START (TFTF_BASE + 0x4000000)
10#define SGI_DRAM1_NS_SIZE 0x10000000
11
12static const mem_region_t sgi_ram_ranges[] = {
13 { SGI_DRAM1_NS_START, SGI_DRAM1_NS_SIZE },
14};
15
16const mem_region_t *plat_get_prot_regions(int *nelem)
17{
18 *nelem = ARRAY_SIZE(sgi_ram_ranges);
19 return sgi_ram_ranges;
20}