Chandni Cherukuri | 8624474 | 2018-11-13 16:16:54 +0530 | [diff] [blame^] | 1 | /* |
| 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 | |
| 12 | static const mem_region_t sgi_ram_ranges[] = { |
| 13 | { SGI_DRAM1_NS_START, SGI_DRAM1_NS_SIZE }, |
| 14 | }; |
| 15 | |
| 16 | const mem_region_t *plat_get_prot_regions(int *nelem) |
| 17 | { |
| 18 | *nelem = ARRAY_SIZE(sgi_ram_ranges); |
| 19 | return sgi_ram_ranges; |
| 20 | } |