summaryrefslogtreecommitdiff
path: root/src/drivers/intel
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-04-12 17:23:55 -0700
committerJulius Werner <jwerner@chromium.org>2021-04-14 01:03:33 +0000
commit62fa9f3cf940f447e5b103aa31d95ea7dc257bb9 (patch)
tree145dd5e8a79cf2bfe582e171b5eda0cd5e23565a /src/drivers/intel
parent43c9d709c75813276f166da8b6bc7bc220e5288d (diff)
intel: mma: Use new CBFS API
This patch changes the Intel MMA driver to use the new CBFS API. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: Icc11d0c2a9ec1bd7a1d6af362f849dac16375433 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52282 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/drivers/intel')
-rw-r--r--src/drivers/intel/fsp2_0/mma_core.c2
1 files changed, 1 insertions, 1 deletions
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;
}