plat/arm/sgi: Add initial platform support for SGI platforms

System Guidance for Infrastructure are Arm's reference server
platforms. Add mandatory functions and macros required by all
SGI platforms to execute the TF-A tests. The common files
are placed in plat/arm/sgi/common/ folder.

Change-Id: Iaf9f3fa9dfa8d95c883bcab7c1ef00ea228b6b67
Signed-off-by: Chandni Cherukuri <chandni.cherukuri@arm.com>
diff --git a/plat/arm/sgi/common/sgi_mem_prot.c b/plat/arm/sgi/common/sgi_mem_prot.c
new file mode 100644
index 0000000..14da4cd
--- /dev/null
+++ b/plat/arm/sgi/common/sgi_mem_prot.c
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2018, Arm Limited. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#include <platform.h>
+
+#define SGI_DRAM1_NS_START	(TFTF_BASE + 0x4000000)
+#define SGI_DRAM1_NS_SIZE	0x10000000
+
+static const mem_region_t sgi_ram_ranges[] = {
+	{ SGI_DRAM1_NS_START, SGI_DRAM1_NS_SIZE },
+};
+
+const mem_region_t *plat_get_prot_regions(int *nelem)
+{
+	*nelem = ARRAY_SIZE(sgi_ram_ranges);
+	return sgi_ram_ranges;
+}