1 /*
2  * Arm SCP/MCP Software
3  * Copyright (c) 2018-2021, Arm Limited and Contributors. All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 #ifndef MOD_N1SDP_ROM_H
9 #define MOD_N1SDP_ROM_H
10 
11 #include <mod_fip.h>
12 
13 #include <stddef.h>
14 #include <stdint.h>
15 
16 /*!
17  * \addtogroup GroupN1SDPModule N1SDP Product Modules
18  * \{
19  */
20 
21 /*!
22  * \defgroup GroupN1SDPRom N1SDP SCP ROM Support
23  * \{
24  */
25 
26 /*!
27  * \brief Module configuration data.
28  */
29 struct n1sdp_rom_config {
30     /*!
31      * Base address of memory-mapped non-volatile platform storage; FIP ToC
32      * starts at this address.
33      */
34     uintptr_t fip_base_address;
35 
36     /*! Size of underlying memory-mapped non-volatile platform storage. */
37     size_t fip_nvm_size;
38 
39     /*! Base address of the RAM to which SCP BL2 will be copied to */
40     const uintptr_t ramfw_base;
41 
42     /*! Type of RAM Firmware to load */
43     enum mod_fip_toc_entry_type image_type;
44 };
45 
46 /*!
47  * \}
48  */
49 
50 /*!
51  * \}
52  */
53 
54 #endif /* MOD_N1SDP_ROM_H */
55