soc: Remove copyright notices
[coreboot.git] / src / soc / intel / common / mma.h
blob238e6ab371fd087842479000f5d56b592be25681
1 /*
2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #ifndef _SOC_MMA_H_
16 #define _SOC_MMA_H_
18 #include <stdint.h>
19 #include <commonlib/region.h>
21 struct mma_config_param {
22 struct region_device test_content;
23 struct region_device test_param;
26 /* Locate mma metadata in CBFS, parse, find and fill rdev for
27 * mma test content and test param.
28 * Returns 0 on success, < 0 on failure.
30 int mma_locate_param(struct mma_config_param *mma_cfg);
31 /* Locate the MMA hob from the FSP Hob list, This is implemented
32 * specific to FSP version.
33 * Returns 0 on success, < 0 on failure.
35 int fsp_locate_mma_results(const void **mma_hob, size_t *mma_hob_size);
37 #endif