blob: 0824c35094415b65a423f2788f8d8f4a02c9eca6 [file] [log] [blame]
Alexei Fedorov61369a22020-07-13 14:59:02 +01001/*
2 * Copyright (c) 2020, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef FCONF_NT_CONFIG_GETTER_H
8#define FCONF_NT_CONFIG_GETTER_H
9
10#include <lib/fconf/fconf.h>
11
12/* NT Firmware Config related getter */
13#define nt_config__event_log_config_getter(prop) event_log.prop
14
15struct event_log_config_t {
16#ifdef SPD_opteed
17 void *tpm_event_log_sm_addr;
18#endif
19 void *tpm_event_log_addr;
20 size_t tpm_event_log_size;
21};
22
23int fconf_populate_event_log_config(uintptr_t config);
24
25extern struct event_log_config_t event_log_config;
26
27#endif /* FCONF_NT_CONFIG_GETTER_H */