aboutsummaryrefslogtreecommitdiff
path: root/product/n1sdp
diff options
context:
space:
mode:
authorManoj Kumar <manoj.kumar3@arm.com>2018-10-26 11:37:43 +0530
committerdavidcunado-arm <david.cunado@arm.com>2018-10-30 16:58:33 +0000
commit018f7a45d46e5a4960f705c46013a411b504de69 (patch)
treef6a3fbdde3202cf4e149071d8157b980705f065a /product/n1sdp
parentfa9cb62f585268724c685b39b3346534cf4f71c6 (diff)
n1sdp: scp_ramfw - add config file for n1sdp_flash module
Change-Id: I53c892d9b643456ab3541f52538d90062b182fd8 Signed-off-by: Manoj Kumar <manoj.kumar3@arm.com>
Diffstat (limited to 'product/n1sdp')
-rw-r--r--product/n1sdp/scp_ramfw/config_n1sdp_flash.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/product/n1sdp/scp_ramfw/config_n1sdp_flash.c b/product/n1sdp/scp_ramfw/config_n1sdp_flash.c
new file mode 100644
index 00000000..8ac8e714
--- /dev/null
+++ b/product/n1sdp/scp_ramfw/config_n1sdp_flash.c
@@ -0,0 +1,18 @@
+/*
+ * Arm SCP/MCP Software
+ * Copyright (c) 2018, Arm Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#include <fwk_module.h>
+#include <mod_n1sdp_flash.h>
+#include <n1sdp_scp_system_mmap.h>
+
+const struct fwk_module_config config_n1sdp_flash = {
+ .data = &((struct mod_n1sdp_flash_config) {
+ .flash_base_address = SCP_QSPI_FLASH_BASE_ADDR,
+ .flash_base_address_alt = SCP_QSPI_FLASH_BASE_ADDR_ALT,
+ .toc_offset = 0x0,
+ })
+};