From 62fa9f3cf940f447e5b103aa31d95ea7dc257bb9 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Mon, 12 Apr 2021 17:23:55 -0700 Subject: intel: mma: Use new CBFS API This patch changes the Intel MMA driver to use the new CBFS API. Signed-off-by: Julius Werner Change-Id: Icc11d0c2a9ec1bd7a1d6af362f849dac16375433 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52282 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/drivers/intel/fsp2_0/mma_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/intel/fsp2_0') diff --git a/src/drivers/intel/fsp2_0/mma_core.c b/src/drivers/intel/fsp2_0/mma_core.c index c19b299011..f71be7a83d 100644 --- a/src/drivers/intel/fsp2_0/mma_core.c +++ b/src/drivers/intel/fsp2_0/mma_core.c @@ -23,7 +23,7 @@ void setup_mma(FSP_M_CONFIG *memory_cfg) { struct mma_config_param mma_cfg; - if (mma_locate_param(&mma_cfg)) { + if (mma_map_param(&mma_cfg)) { printk(BIOS_DEBUG, "MMA: set up failed\n"); return; } -- cgit v1.2.3