aboutsummaryrefslogtreecommitdiff
path: root/product/juno/module/juno_rom/src/config_dt_juno_rom.c
blob: 069eba5ac90fe52ea63e21a28dac480f6e666f20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Arm SCP/MCP Software
 * Copyright (c) 2019-2021, Arm Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#include <mod_juno_rom.h>

#include <fwk_dt_config_common.h>
#include <fwk_module.h>

#define J_ROM_INST DT_INST(0, arm_juno_rom)

struct fwk_module_config config_dt_juno_rom = {
    .data = &(struct mod_juno_rom_config) {
        .ap_context_base = DT_PROP_BY_IDX(J_ROM_INST, ap_context, 0),
        .ap_context_size = DT_PROP_BY_IDX(J_ROM_INST, ap_context, 1),
        .ramfw_base = DT_PROP(J_ROM_INST, ram_fw_base),
    },
};