aboutsummaryrefslogtreecommitdiff
path: root/product/morello/module/morello_rom/include/mod_morello_rom.h
blob: f6392bbb1a527a67c0f437a54f1ac7e514d6b350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
 * Arm SCP/MCP Software
 * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef MOD_MORELLO_ROM_H
#define MOD_MORELLO_ROM_H

#include <mod_fip.h>

#include <stddef.h>
#include <stdint.h>

/*!
 * \addtogroup GroupMORELLOModule MORELLO Product Modules
 * \{
 */

/*!
 * \defgroup GroupMORELLORom MORELLO SCP ROM Support
 * \{
 */

/*!
 * \brief Module configuration data.
 */
struct morello_rom_config {
    /*!
     * Base address of memory-mapped non-volatile platform storage; FIP ToC
     * starts at this address.
     */
    uintptr_t fip_base_address;

    /*! Size of underlying memory-mapped non-volatile platform storage. */
    size_t fip_nvm_size;

    /*! Base address of the RAM to which SCP BL2 will be copied to */
    const uintptr_t ramfw_base;

    /*! Type of RAM Firmware to load */
    enum mod_fip_toc_entry_type image_type;
};

/*!
 * \}
 */

/*!
 * \}
 */

#endif /* MOD_MORELLO_ROM_H */